Page MenuHomePhabricator

[lib] Simplify sorting local ids
ClosedPublic

Authored by inka on Fri, Apr 5, 3:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 16, 5:18 PM
Unknown Object (File)
Sat, Apr 13, 10:55 AM
Unknown Object (File)
Thu, Apr 11, 7:40 PM
Unknown Object (File)
Thu, Apr 11, 2:35 PM
Unknown Object (File)
Wed, Apr 10, 11:34 AM
Unknown Object (File)
Tue, Apr 9, 7:09 PM
Unknown Object (File)
Fri, Apr 5, 3:41 AM
Unknown Object (File)
Fri, Apr 5, 3:41 AM
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