Split SortHandler into Serializer and Comparator.
Split SortHandler into Serializer and Comparator.