SortList options seem to work "upside down". Option #PB_Sort_Descending sorts the list ascending, and vice versa.
I'm using SpiderBasic v1.0.2.
Cheers.
SortList options have changed places
Re: SortList options have changed places
I tried to reproduce the issue without luck, it does seem to work as expected here:
Code: Select all
NewList a()
AddElement(a())
a() = 10
AddElement(a())
a() = 5
AddElement(a())
a() = 15
SortList(a(), #PB_Sort_Ascending)
ForEach a()
Debug a()
Next
Debug "------------------"
SortList(a(), #PB_Sort_Descending)
ForEach a()
Debug a()
Next