[Overview][Types][Procedures and functions][Index] | Reference for unit '_crw_sort' (#crwlib)

# SortIndex

## Declaration

Source position: _crw_sort.pas line 255

`function SortIndex(`
`N: Integer;`
`const Key: array of Byte;`
`Index: PIntegerArray;`
`Method: TSortMethod = smShellSort`
`):PIntegerArray; overload; function SortIndex(`
`N: Integer;`
`const Key: array of ShortInt;`
`Index: PIntegerArray;`
`Method: TSortMethod = smShellSort`
`):PIntegerArray; overload; function SortIndex(`
`N: Integer;`
`const Key: array of Word;`
`Index: PIntegerArray;`
`Method: TSortMethod = smShellSort`
`):PIntegerArray; overload; function SortIndex(`
`N: Integer;`
`const Key: array of SmallInt;`
`Index: PIntegerArray;`
`Method: TSortMethod = smShellSort`
`):PIntegerArray; overload; function SortIndex(`
`N: Integer;`
`const Key: array of LongWord;`
`Index: PIntegerArray;`
`Method: TSortMethod = smShellSort`
`):PIntegerArray; overload; function SortIndex(`
`N: Integer;`
`const Key: array of LongInt;`
`Index: PIntegerArray;`
`Method: TSortMethod = smShellSort`
`):PIntegerArray; overload; function SortIndex(`
`N: Integer;`
`const Key: array of Int64;`
`Index: PIntegerArray;`
`Method: TSortMethod = smShellSort`
`):PIntegerArray; overload; function SortIndex(`
`N: Integer;`
`const Key: array of Single;`
`Index: PIntegerArray;`
`Method: TSortMethod = smShellSort`
`):PIntegerArray; overload; function SortIndex(`
`N: Integer;`
`const Key: array of Double;`
`Index: PIntegerArray;`
`Method: TSortMethod = smShellSort`
`):PIntegerArray; overload; function SortIndex(`
`N: Integer;`
`const Key: array of Comp;`
`Index: PIntegerArray;`
`Method: TSortMethod = smShellSort`
`):PIntegerArray; overload;`