People rarely use them in real life, but ISO 8601 and RFC 3339 (both are almost identical) are the most natural ways of writing date and time. Just like how we write numbers, their components are written from left to right in the decreasing order of significance: yyyy-mm-ddTHH:MM:SS. I like it by default for precisely the reason you mentioned - sorting. It even helps quick visual comparisons.
I like it for reading and using the date day to day
But yyy-mm-dd is best for sorting and archiving files
People rarely use them in real life, but ISO 8601 and RFC 3339 (both are almost identical) are the most natural ways of writing date and time. Just like how we write numbers, their components are written from left to right in the decreasing order of significance: yyyy-mm-ddTHH:MM:SS. I like it by default for precisely the reason you mentioned - sorting. It even helps quick visual comparisons.
This