PureBasic - Sort

Overview

Sometimes, elements has to be sorted to be usable or more convenient. PureBasic offers highly optimized functions in order to sort arrays and lists, either in ascending or descending order.
Furthermore there are functions to reorder the elements of an array or a list in a random order.

Command Index

RandomizeArray
RandomizeList
SortArray
SortList
SortStructuredArray
SortStructuredList

Example

Sort_(Numeric).pb
Sort_(String).pb

Supported OS

All

Reference Manual - Index