How to verify response is arranged in chronological date order?

I have a response with values for three dates, and I want to verify whether the response is arranged in chronological date order.
Sample response:

"name": [
                {
                    "date": "2020-01-09",
                    "dateMs": 1578528000000,
                    "increase": {
                        "value": 41.54
                    }
                   
                },
                {
                    "date": "2020-01-12",
                    "dateMs": 1578787200000,
                    "increase": {
                        "value": 41.75
                    }
                },
                {
                    "date": "2020-02-10",
                    "dateMs": 1581292800000,
                    "increase": {
                        "value": 41.81
                    }
                  }

In this sample response three values are ordered chronologically. I need to verify it.

What have you tried to do so far?

I’m very new to this. I tried to do using moment, sort order.

Everyone was new at some point - it’s all good. We’re here to help :trophy:

Do you have the code that you’re using available, maybe you’re close and it just needs some minor tweaks. :smile: