Time Disorder: don't order events by timestamp
When presented with a series of events, many developers will first be tempted to sort them by time. This is dangerous because timestamps do not provide the strict ordering they've assumed.
Out of order events can lead to infrequent but significant bugs: consider "add to basket then checkout" vs "checkout then add to basket".
Instead of timestamps, developers should prefer simple counters and proper conflict detection. Timestamps may still be useful, but should be approached with caution due to the complexities outlined below.
Source: Time Disorder: don't order events by timestamp, an article by Caolan McMahon.