order by alias is not supported in mssql. fixes #596 by @chuck-jove