binary search

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