# Add sort parameter to GET /crm/v3/objects/{object}

**URL:** <https://community.hubspot.com/t/add-sort-parameter-to-get-crm-v3-objects-object/90487>\
**Category:** HubSpot Ideas\
**Tags:** api\
**Created:** [September 26, 2023, 1:39pm UTC](https://community.hubspot.com/t/add-sort-parameter-to-get-crm-v3-objects-object/90487 "2023-09-26T13:39:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sachavskyi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sachavskyi/32/39641_2.png) [@Sachavskyi](https://community.hubspot.com/u/Sachavskyi)\
**Post date:** [September 26, 2023, 1:39pm UTC](https://community.hubspot.com/t/add-sort-parameter-to-get-crm-v3-objects-object/90487/1 "2023-09-26T13:39:16Z")

</div>

I need to get recently archived objects (e.g. contacts) for the last week. I am sending a request:  
**GET [https://api.hubapi.com/crm/v3/objects/contacts?limit=100&archived=true](https://api.hubapi.com/crm/v3/objects/contacts?limit=100&archived=true)**

But the response isn’t sorted by any of the fields. So, I need to get all archived contacts (10 pages).  
Please add a **sort={field}&direction={ASC,DESC} (e.g. sort=archivedAt&direction=DESC in my case) parameters to GET`/crm/v3/objects/{object}.`**

---

<div class="post-metadata">

**Author:** ![rindrar](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@rindrar](https://community.hubspot.com/u/rindrar)\
**Post date:** [September 28, 2023, 4:09am UTC](https://community.hubspot.com/t/add-sort-parameter-to-get-crm-v3-objects-object/90487/2 "2023-09-28T04:09:16Z")

</div>

Thank you @Sachavskyi . I’m also in need for this feature especially if it could allow a sort by `archivedAt` (implicit) property
