title: Why java.util.UUID is Comparable?
body: <p>UUID in java implements Comparable. Which seems a bit weird to me, since, in almost all cases UUIDs are randomly generated (or deserialized from somewhere but still they were probably originally randomly generated).</p>
  
  <p>There doesn't seem to be any sense comparing them, unless you generate them manually with sequentially incremented LSB/MSB, which might make sense if you just want a very big ID number (two longs instead of one plain long), but that's the only explanation I can think of.</p>