sort

  1. Alexander Stolte

    Android Example [B4X] Supabase - Database OrderBy

    https://www.b4x.com/android/forum/threads/b4x-supabase-the-open-source-firebase-alternative.149855/ You can order by just one column, or with multiple columns. Available sorting commands: desc To sort the records in descending order asc To sort the records in ascending order nullsfirst...
  2. M

    Android Question Sort json

    How can I sort the following JSON based on the 'amount' in ascending order? I need a function that takes the JSON, sorts it, and returns the sorted JSON as output...
  3. H

    B4J Code Snippet Sort and Search Lists in Any Arbitrary Way

    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...
  4. A

    Android Question Sort a List of Type with multiple criterias [SOLVED]

    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...
  5. MarkusR

    Android Question [solved] how to use the List.Sort ??? (issue with utf-8 byte order mark from notepad editor)

    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...
Top