Matrix1 Utility Plug-ins

# SET ARRAYPTR SORT

Syntax

SET ARRAYPTR SORT Array pointer, SortMethod

Description

This command is identical to the equivalent SET ARRAY SORT command, except that it operates on an array pointer rather than an array. 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

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