Remove unneeded sort.