Realm-js: Sorting Alphabetically

Created on 19 Jul 2017  路  2Comments  路  Source: realm/realm-js

Sorting by items like names, etc are not returned in alphabetical order.

For example, if a collection contains Items with titles "item #1", item #2", item #10", "item #11", the output will be:

  • item #1
  • item #10
  • item #11
  • item #2

When instead it should be

  • item #1
  • item #2
  • item #10
  • item #11

Is the sorting not taking into consideration the length of the item?

O-Community Pipeline-Idea-Backlog T-Enhancement

All 2 comments

You are right, sorting doesn't do this currently. I agree that it would be nice -- we'll keep it in mind.

Any update on this?

Was this page helpful?
0 / 5 - 0 ratings