Sorting fix.