Sorting extensions improved.