SQL Server fix: the order by clause can only contain columns that are
present in the SELECT clause
Merge branch 'master' of github.com:xwic/appkit