Sort UUIDs correctly using UUIDComparator
mainThe standard java.util.UUID.compareTo() implementation is flawed for unsigned comparison (it uses signed 64-bit comparison, which causes incorrect ordering for certain UUIDs).
To achieve the expected lexicographic/unsigned sorting order, always use com.fasterxml.uuid.UUIDComparator.