SortIntegers Function

Sorts an array of integers.

void SortIntegers(int[] array, int array_size, SortOrder order)

Parameters

int[] array

Array of integers to sort in-place.

int array_size

Size of the array.

SortOrder order

Sorting order to use.