Answer the question
In order to leave comments, you need to log in
How to sort an object by key if the key is a date in string format?
Hi all. I have an object of this format:
var object = {
'2019-06-04': {...},
'2019-05-13': {...},
.........................
}
Answer the question
In order to leave comments, you need to log in
in this format, it will normally sort
out the problems will begin without leading zero
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question