Bugfix: results were not ordered