I’m lazy, I know (by hey, at least next time I Google it then I’ll find the answer)
Do you have an existing piece of code that takes a Date object, and generates a string, that has a sort order equivalent to the chronological order?
I want the string to contain all the date pieces (day, month, hour, minute, milliseconds, …) and that when two strings are compared, the string representing the earliest date will be before the string representing the later date.
I’m lazy too, so maybe it has some compile errors, or not (haven’t checked it).