make the TaggedKeySortComparator include both primary and secondary sort