mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 02:48:00 +00:00
The server may send us ids in the order [11, 2], instead of [2, 11]. We don't want to rely on server behavior, regardless, for the sort. Our tests now show we process that data. The current code is is still buggy and causes us to show the same huddle two different times for situations where the lexical sort doesn't match the numerical sort. This happens on czo often, where Tim is user 7, and his id sorts lexically after ids like 58, 622, 4444, etc.