# How can I sort JSON by ID?

**URL:** <https://discourse.processing.org/t/how-can-i-sort-json-by-id/15924>\
**Category:** Coding Questions\
**Created:** [November 28, 2019, 8:57pm UTC](https://discourse.processing.org/t/how-can-i-sort-json-by-id/15924 "2019-11-28T20:57:09Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [December 2, 2019, 11:55am UTC](https://discourse.processing.org/t/how-can-i-sort-json-by-id/15924/6 "2019-12-02T11:55:56Z")

</div>

See also

> [@Can I make a small windows app for taking time and log production times?](https://discourse.processing.org/t/can-i-make-a-small-windows-app-for-taking-time-and-log-production-times/15484/13):
>
> here is a typical json that results [{ "number": "0", "id": 0, "article": "Climate", "events": [{ "date": "11/09/2019", "id": 0, "time": "03:04-05:47" }, { "date": "13/09/2019", "id": 1, "time": "13:19-18:44" }, { "date": "17/09/2019", "id": 2, "time": "22:33-23:12" }, { "date": "15/11/2019", "id": 3, "time": "17:53-17:53" }] …

---

_[View the full topic](https://discourse.processing.org/t/how-can-i-sort-json-by-id/15924)._
