# Search REST API sorting by version doesn't work in Nexus Repo 3.25

**URL:** <https://community.sonatype.com/t/search-rest-api-sorting-by-version-doesnt-work-in-nexus-repo-3-25/4663>\
**Category:** Sonatype Nexus Repository\
**Tags:** rest, api\
**Created:** [July 20, 2020, 1:36pm UTC](https://community.sonatype.com/t/search-rest-api-sorting-by-version-doesnt-work-in-nexus-repo-3-25/4663 "2020-07-20T13:36:56Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![dominique.thery](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@dominique.thery](https://community.sonatype.com/u/dominique.thery)\
**Post date:** [July 20, 2020, 1:36pm UTC](https://community.sonatype.com/t/search-rest-api-sorting-by-version-doesnt-work-in-nexus-repo-3-25/4663/1 "2020-07-20T13:36:56Z")

</div>

Hi,

I’ve been using the search REST API with Nexus Repo 3.24.0-02 (OSS), searching for component, sorting by version and it works well : results are displayed by version descended, by default.

I upgraded to the latest 3.25.0-03 (still OSS), and the search results are not sorted anymore, even when forcing the “direction=desc” parameter.

Could you check that this is not a regression?  
Thanks!

---

_[View the full topic](https://community.sonatype.com/t/search-rest-api-sorting-by-version-doesnt-work-in-nexus-repo-3-25/4663)._
