explicitly sort otherwise unordered results