Improved error message for inmemory query where the user forgot to add alias to order by