
NdxShellSort -Sort Indexed Arrays using ShellSort
‘ Indexed ShellSort of an array of any type” Indexed Sorts are sort procedures that sort an index array’ instead of the main array. You can then list the items in’ sorted member by simply scanning the index, as in’ For i = 1 To numEls: Print arr(ndx(i)): Next” NUMELS