Objective
Implement a function that rearranges the elements of an integer array in non-decreasing order, modifying the buffer directly without returning anything.
Steps
$ int t[] = {4, 1, 3, 2}; sort_array(t, 4);
{1, 2, 3, 4}
$ int t[] = {-2, 5, -7, 0, 3}; sort_array(t, 5);
{-7, -2, 0, 3, 5}
Expected files
Allowed functions
None. Write every helper yourself.

Objective
Implement a function that rearranges the elements of an integer array in non-decreasing order, modifying the buffer directly without returning anything.
Steps
$ int t[] = {4, 1, 3, 2}; sort_array(t, 4);
{1, 2, 3, 4}
$ int t[] = {-2, 5, -7, 0, 3}; sort_array(t, 5);
{-7, -2, 0, 3, 5}
Expected files
Allowed functions
None. Write every helper yourself.

Tests
Run the tests to grade your code