Fix: results are not sorted.