Matrix1 Utility Plug-ins

SET ARRAY SORT


Syntax

SET ARRAY SORT Array(), SortMethod

Description

This command can be used to select alternate sorting methods for the array.

Valid methods include:
0 - Introsort (a variation on quicksort) - n*log(n) complexity, unstable
1 - Mergesort - n*log(n) or n*log(n)*log(n) complexity, depending on memory available, stable
2 - Heapsort - n*log(n) complexity but usually twice as long as method 0, unstable
3 - Shellsort - n*log2(n) complexity, unstable

Go back to ...

Matrix1Util_29 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011