Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
Dim firstlist As List = Array(0, 1, 2, 3, 4, 5, 9, 33, 17, 23, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 35, 36, 36, 37, 38, 38, 38, 39, 39, 39, 40, 41, 41, 41, 42, 43, 45, 46, 50, 50, 50, 50)
Log(firstlist.Size)
Dim b4xs As B4XSet = B4XCollections.CreateSet 'need B4Xcollections lib
For Each objItem As Int In firstlist
b4xs.Add(objItem)
Next
Log(b4xs.AsList.size)
Log("----")
b4xs.AsList.Sort(True)
For Each Value As Int In b4xs.AsList
Log(Value)
Next
End Sub