From Dev.to
UG21 log review: compare wrapping counters without inventing a timeline
A log viewer receives counter values 254, 255, zero and one. Sorting them as ordinary integers moves the last two records to the beginning. Treating every decrease as a restart splits one continuous s...
