Earlier solution not working: sorting data from firestore

The solution in an earlier post (link below) is not working:

I have followed the steps and the data is not ordered in the list (side note: for now I’m testing in a basic list while searching for a solution to the scrollable list not working)




Hi,

The ORDER() function is working correctly for me. It’s difficult to debug this without knowing exactly what’s in the property is that you’re sorting with (in this case, field4). If you could provide this info we can look further into this case and investigate if it’s a bug.
Remember that the ORDER() function is case sensitive, sorting uppercase letters before lowercase ones. Also check that all of the fields you’re comparing are of the same type - if some are numbers and some are strings the sorting might break as these are handled differently.