private function applyOrders(array $settings): array
    {
        $orders = [];
        // Obtain a list of columns
        foreach ($settings as $column => $order) {
            $column = Proxy\Db::quoteIdentifier($column);
            $orders[] = $column . ' ' . $order;
        }
        return $orders;
    }
private function applyOrders(array $settings): array
    {
        $orders = [];
        // Obtain a list of columns
        foreach ($settings as $column => $order) {
            $column = Proxy\Db::quoteIdentifier($column);
            $orders[] = $column . ' ' . $order;
        }
        return $orders;
    }
private function applyOrders ( array $ settings ) : array { $ orders = [ ] ; // Obtain a list of columns foreach ( $ settings as $ column => $ order ) { $ column = Proxy \ Db :: quoteIdentifier ( $ column ) ; $ orders [ ] = $ column . ' ' . $ order ; } return $ orders ; }
Apply order to SQL query

@param  array $settings

@return array
Apply order to SQL query