Actually, I was wrong modifying UniqueResults. We should just not sort the results at the end, to keep the initial order we wanted