PureBasic - Sort

Overview

Often, elements must be sorted to be usable or more convenient. PureBasic offers highly optimized functions in order to sort arrays and linked lists, either in ascending or descending order.
Furthermore there are functions to reorder the elements of an array or a linked 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