Bug 988631 - sort user records by (generation, created_at, uid)