Softanza
StartFrançais
Softanza
The library documents itself · Collections & objects

stzListSorter

36 own methods · 4 forms written with extensions, listed under their method

the source: base/list/stzListSorter.ring(opens in a new tab) · All classes · The area reference: Collections & objects

Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean

Examples: 0 come from the library's tests; 32 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6]). 4 methods have none yet. Examples run on 2026-10-03 12:54 inside the library at commit 0e72e2e2c.

Method
Explanation, as the source carries it
init
initializationno extension
Content
content accessno extension
NumberOfItems
content access
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? o1.NumberOfItems()
#--> 8
composed from the signature, run for this page
no extension
IsEmpty
content access
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? o1.IsEmpty()
#--> 0
composed from the signature, run for this page
no extension
Copy
content accessno extension
UpdateWith
content access
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
o1.UpdateWith([ 2, 3 ])
? @@( o1.Content() )
#--> [ 2, 3 ]
composed from the signature, run for this page
no extension
Update
content access
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
o1.Update([ 2, 3 ])
? @@( o1.Content() )
#--> [ 2, 3 ]
composed from the signature, run for this page
no extension
SortingOrder
sorting order of the list
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? o1.SortingOrder()
#--> unsorted
composed from the signature, run for this page
no extension
HasSameSortingOrderAs
sorting order of the listalso written: HasSameOrderAs
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? o1.HasSameSortingOrderAs([ 2, 3 ])
#--> 0
composed from the signature, run for this page
no extension
IsSorted
is the list sorted or unsorted?
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? o1.IsSorted()
#--> 0
composed from the signature, run for this page
no extension
IsSortedInAscending
is the list sorted or unsorted?also written: IsSortedUp
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? o1.IsSortedInAscending()
#--> 0
composed from the signature, run for this page
no extension
IsSortedInDescending
is the list sorted or unsorted?also written: IsSortedDown
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? o1.IsSortedInDescending()
#--> 0
composed from the signature, run for this page
no extension
IsUnsorted
is the list sorted or unsorted?
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? o1.IsUnsorted()
#--> 1
composed from the signature, run for this page
no extension
SortInAscending
(no comment in the source: the name reads as a sentence) sort in ascendingin the section sorting the items in ascending
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
o1.SortInAscending()
? @@( o1.Content() )
#--> [ 1, 1, 2, 3, 4, 5, 6, 9 ]
composed from the signature, run for this page
QCSXTZZZIBWU
Sort
(no comment in the source: the name reads as a sentence) sortin the section sorting the items in ascending
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
o1.Sort()
? @@( o1.Content() )
#--> [ 1, 1, 2, 3, 4, 5, 6, 9 ]
composed from the signature, run for this page
QCSXTZZZIBWU
SortUp
(no comment in the source: the name reads as a sentence) sort upin the section sorting the items in ascending
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
o1.SortUp()
? @@( o1.Content() )
#--> [ 1, 1, 2, 3, 4, 5, 6, 9 ]
composed from the signature, run for this page
no extension
SortedInAscending
(no comment in the source: the name reads as a sentence) sorted in ascendingalso written: Sorted · SortedUpin the section sorting the items in ascending
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? @@( o1.SortedInAscending() )
#--> [ 1, 1, 2, 3, 4, 5, 6, 9 ]
composed from the signature, run for this page
no extension
SortInDescending
sorting the items in descending
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
o1.SortInDescending()
? @@( o1.Content() )
#--> [ 9, 6, 5, 4, 3, 2, 1, 1 ]
composed from the signature, run for this page
QCSXTZZZIBWU
SortDown
sorting the items in descending
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
o1.SortDown()
? @@( o1.Content() )
#--> [ 9, 6, 5, 4, 3, 2, 1, 1 ]
composed from the signature, run for this page
no extension
SortedInDescending
sorting the items in descendingalso written: SortedDown
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? @@( o1.SortedInDescending() )
#--> [ 9, 6, 5, 4, 3, 2, 1, 1 ]
composed from the signature, run for this page
no extension
SortByInAscending
sorting by an evaluated expression
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
o1.SortByInAscending("@item > 3")
? @@( o1.Content() )
#--> [ 3, 1, 1, 2, 4, 5, 9, 6 ]
composed from the signature, run for this page
no extension
SortBy
sorting by an evaluated expression
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
o1.SortBy("@item > 3")
? @@( o1.Content() )
#--> [ 3, 1, 1, 2, 4, 5, 9, 6 ]
composed from the signature, run for this page
no extension
SortByInDescending
sorting by an evaluated expression
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
o1.SortByInDescending("@item > 3")
? @@( o1.Content() )
#--> [ 4, 5, 9, 6, 3, 1, 1, 2 ]
composed from the signature, run for this page
no extension
Reverse
reversing items order in the list
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
o1.Reverse()
? @@( o1.Content() )
#--> [ 6, 2, 9, 5, 1, 4, 1, 3 ]
composed from the signature, run for this page
QCSXTZZZIBWU
ReverseItems
reversing items order in the list
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
o1.ReverseItems()
? @@( o1.Content() )
#--> [ 6, 2, 9, 5, 1, 4, 1, 3 ]
composed from the signature, run for this page
no extension
Reversed
reversing items order in the listalso written: ItemsReversed
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? @@( o1.Reversed() )
#--> [ 6, 2, 9, 5, 1, 4, 1, 3 ]
composed from the signature, run for this page
no extension
Classify
classifyingalso written: Categorise · Categorizeno extension
SortedBy
stable sort by keyalso written: SortedByInAscending
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? @@( o1.SortedBy("@item > 3") )
#--> [ 3, 1, 1, 2, 4, 5, 9, 6 ]
composed from the signature, run for this page
no extension
SortedByInDescending
stable sort by key
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? @@( o1.SortedByInDescending("@item > 3") )
#--> [ 4, 5, 9, 6, 3, 1, 1, 2 ]
composed from the signature, run for this page
no extension
Min
min / max itemsalso written: Minimum
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? o1.Min()
#--> 1
composed from the signature, run for this page
no extension
Max
min / max itemsalso written: Maximum
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? o1.Max()
#--> 9
composed from the signature, run for this page
no extension
MinMax
min / max items
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? @@( o1.MinMax() )
#--> [ 1, 9 ]
composed from the signature, run for this page
no extension
Ranked
ranking (ordinal pos)also written: Ranks
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? @@( o1.Ranked() )
#--> [ 4, 1, 5, 1, 6, 8, 3, 7 ]
composed from the signature, run for this page
no extension
NthSmallest
nth smallest / largest
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? o1.NthSmallest(2)
#--> 1
composed from the signature, run for this page
no extension
NthLargest
nth smallest / largest
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? o1.NthLargest(2)
#--> 6
composed from the signature, run for this page
no extension
Median
median
composed example
o1 = new stzListSorter([3, 1, 4, 1, 5, 9, 2, 6])
? o1.Median()
#--> 3.50
composed from the signature, run for this page
no extension