Change the way items are sorted