ISO date sort

iso-date-sort · version 1.0.0 · Dates & times (UTC, ISO 8601) · free, no key needed

Stable-sort an array of YYYY-MM-DD calendar dates.

Use when you need to: iso date sort · sort calendar dates · order dates.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "dates": [
    "2026-03-01",
    "2026-01-01",
    "2026-02-01"
  ]
}

Response:

{
  "result": {
    "dates": [
      "2026-01-01",
      "2026-02-01",
      "2026-03-01"
    ]
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "iso-date-sort",
  "version": "1.0.0",
  "input": {
    "dates": [
      "2026-03-01",
      "2026-01-01",
      "2026-02-01"
    ]
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/iso-date-sort/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"dates":["2026-03-01","2026-01-01","2026-02-01"]}'

The machine-readable contract is at /v1/tools/iso-date-sort/versions/1.0.0.

CLI

node cli.mjs run iso-date-sort 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.