Bugfix with sort

The previous code was generating the line like `{{ thead('link', 'url', 'Url') }}`. During the sorting query builder was throw exception with semantical error. Now the string would looks like `{{ thead('link', 'l.url', 'Url') }}` and query builder can build appropriate query.