In B4X it is easy to sort a List in any arbitrary way, thanks to the fact that we can simply pass the name of a function anywhere.
I am using a non-recursive search here, because I had to sort lists with hundreds of thousands of items. The sorting is quite fast, good enough for sure. B4J is...
Hello All,
I'm looking to sort a List of Type with multiple criterias.
As far as I understand, List.SortType(), is capable to sort only one criteria.
So, how to do such kind of multiple sort?
Example (expected behavior)
Type(Val1 as String, Val2 as String, Val3 as Int)
all type values are...
i have a textfile in utf-8 and this code but the list is not sorted. (7.80)
i put a A at top of the file and a Z an the end.
Dim problems As List = File.ReadList(File.DirAssets,"problems.txt")
problems.Sort(True)
Dim i As Int
For i = 0 To problems.Size-1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.