src/QueryDataTable.php
public function orderColumns(array $columns, $sql, $bindings = [])
    {
        foreach ($columns as $column) {
            $this->orderColumn($column, str_replace(':column', $column, $sql), $bindings);
        }

        return $this;
    }
public function orderColumns(array $columns, $sql, $bindings = [])
    {
        foreach ($columns as $column) {
            $this->orderColumn($column, str_replace(':column', $column, $sql), $bindings);
        }

        return $this;
    }
public function orderColumns ( array $ columns , $ sql , $ bindings = [ ] ) { foreach ( $ columns as $ column ) { $ this -> orderColumn ( $ column , str_replace ( ':column' , $ column , $ sql ) , $ bindings ) ; } return $ this ; }
Order each given columns versus the given custom sql.

@param array  $columns
@param string $sql
@param array  $bindings
@return $this
Order each given columns versus the given custom sql .