Support Ordered Indexes in Realm
When you request sorted data in Realm, Realm currently has to sort the entire underlying collection before loading the first value in the result set. This makes an operation like getting the most recent document in a collection take a long time for large collections.
Providing the option to write data with an ordered index would fix this problem.
2
votes
Phillip
shared this idea