Configure case-sensitivity in sorting #8005
damnsamn
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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