Sort the results to be always consistent