Commit f2239f7
ref(core): Sort breadcrumbs by their natural ordering in SentryClient
SortBreadcrumbsByDate compared timestamps only, so ties fell through to
the sort's stability. Breadcrumb.compareTo now defines that same order
with a defined tie-breaker, leaving the comparator a weaker duplicate of
it and the codebase with two definitions of breadcrumb order.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent a2de9ab commit f2239f7
1 file changed
Lines changed: 1 addition & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | | - | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
1660 | 1658 | | |
1661 | 1659 | | |
1662 | 1660 | | |
1663 | | - | |
| 1661 | + | |
1664 | 1662 | | |
1665 | 1663 | | |
1666 | 1664 | | |
| |||
1851 | 1849 | | |
1852 | 1850 | | |
1853 | 1851 | | |
1854 | | - | |
1855 | | - | |
1856 | | - | |
1857 | | - | |
1858 | | - | |
1859 | | - | |
1860 | | - | |
1861 | | - | |
1862 | | - | |
1863 | 1852 | | |
0 commit comments