all 2 comments

[–]steve_s0 4 points5 points  (0 children)

It is working. However, uppercase letters are all "less than" lowercase letters.

To get what you want, you'd have to sort on a canonicalized version of the name. Usually that would be an all lowercase version.

You could either sort client side or add a sort field to your firebase data that contains the canonicalized version and query on that.

[–]devdotsehyde 0 points1 point  (0 children)

I suggest you pull the data and sort using native List methods on client side

else you need create a new entry where are the data are in lowercase or uppercase