You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cant seem to get is to go non alphabetically why doesn't it just put them in the order they have them in the array would make it so much nicer especially when you are doing a month of the year dropdown would make it nicer to have them in the correct order without having to add the month number at the start. Is there an easy built in way that I am missing?
The text was updated successfully, but these errors were encountered:
You could specify your own ItemAdapter that overrides sortItems to do nothing. The default implementation performs sorting based on the current search value, which enables features like relevance sorting. Unfortunately, since Array.sort is not guaranteed to be stable, you can't easily leave equally-relevant items in the original order. Another option (which I have used myself) is just adding a consecutive integer sort key (named sortKey by default) to each item.
I cant seem to get is to go non alphabetically why doesn't it just put them in the order they have them in the array would make it so much nicer especially when you are doing a month of the year dropdown would make it nicer to have them in the correct order without having to add the month number at the start. Is there an easy built in way that I am missing?
The text was updated successfully, but these errors were encountered: