UUID Versions
UUID v4 uses cryptographically random bytes — the most common choice. UUID v1 encodes the current timestamp and a pseudo-random node, making it partially sortable. UUID v7 (RFC 9562) combines a Unix millisecond timestamp with random bits for both sortability and uniqueness.