Merge Ugo's misc sorter.