When sorting available apps by size of download or size when installed, the code is sorting as if the values are strings, not numbers. As a result, the sorted order is erroneous.
New: streamWriter (Jun 28, 2024), Platform 29.5.3 (Jun 27, 2024)
1,100+ portable packages, 1.1 billion downloads
Please donate today
You're not supposed to be able to sort at all. It's disabled by code. But there's a bug in the listbox component used that enables sort anyway.
Sometimes, the impossible can become possible, if you're awesome!
LOL. The old adage is "it's not a bug, it's a feature". In this case, the adage is "it's not a bug, because it's only visible due to another bug"!
Any reason sort can't be enabled? It would be quite useful, and by adding a simple conversion from a string to an integer, it looks like it would work (it looks like it's sorting correctly given that it thinks those values are strings).
No, the component is self-contained. And sort doesn't serve much of a purpose given that the main useful things to sort by are already covered by the options (Category, Name, New aka Release Date, Latest Updates aka Update Date). Sorting by something like description or app size is interesting as a curiosity, but isn't terribly useful.
Sometimes, the impossible can become possible, if you're awesome!