title: how does ordering by UUID work in PostgreSQL?
body: <p>Is there any ordering guarantee on using uuid_generate_v1() on postgresql?</p>
  
  <p>If yes,tThe guarantees are per machine or it does not matter on which machine the UUID was generated? Since V1 UUID is by timestamp + MAC address, does Postgres internally order by the timestamp part and then by MAC?</p>
  
  <p>Can I "order by" an UUID type column and expect it to always work (seems to work)?</p>
  
  <p>I want to generate UUIDs on multiple machines (with postgresql uuid_generate_v1()), copy them to one Postgres instance and then order by the UUID column. It must guarantee order by machine, not the order of the UUIDs of all machines.</p>