Page MenuHomePhabricator

[lib] Simplify sorting local ids
ClosedPublic

Authored by inka on Apr 5 2024, 3:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 3, 2:09 AM
Unknown Object (File)
Tue, Oct 22, 2:46 PM
Unknown Object (File)
Tue, Oct 22, 2:46 PM
Unknown Object (File)
Tue, Oct 22, 2:46 PM
Unknown Object (File)
Oct 11 2024, 11:49 AM
Unknown Object (File)
Sep 18 2024, 9:39 AM
Unknown Object (File)
Aug 29 2024, 3:43 PM
Unknown Object (File)
Aug 13 2024, 12:16 PM
Subscribers

Details

Summary

issue: ENG-7651
Since local ids are now uuids, not consecutive numbers, we don't want to sort them like number. But we do care that they are always sorted in the same order. So we want to sort them lexicographically (within one time - we first sort all ids by time). We walso want the local ids to be after any realised ids (again, withing one time).

Test Plan

ran the provided tests

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable