compare#
Compare two binary UUIDs: -1, 0 or 1.
As in Data::UUID, the fields are compared in turn and a later field that differs decides, the node’s last differing byte above all; two UUIDs of one generator compare in the order they were made.
Synopsis#
my @sorted = sort { $ug->compare($a, $b) } @uuids;