Sorting was a bad idea