Configure case-sensitivity in sorting #8005
damnsamn
started this conversation in
Feature Requests & Ideas
Replies: 1 comment 3 replies
-
I know this is half a year old but did you find an answer in the end? I am facing the same issue and it would be nice if we could have a case insensitive sort |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys - we’ve encountered an issue with our site where sorting a collection by its
name
field via the REST API (GET /api/posts?limit=0&sort=name
) is returning alphabetical sorting in unexpected ways, seeming to sort Capitals-first, whereAZ
precedesAa
, andZ
precedesa
.Below are two screenshots where this is an issue:


NSO Group
sorted aboveNarus
- we’d expect it to be sorted alphabetically underNodus Information Technology
iFLYTEK
are sorted to the absolute bottom of the list, underneath all items written as proper nounsIt would be great if there were a way to configure payload’s sorting algorithm to sort in a way that is case-insensitive, or at least sorting alphabetical->casing rather than casing->alphabetical.
Beta Was this translation helpful? Give feedback.
All reactions