Objective
Implement a function that fills out with the indices of arr ordered by string length, shortest first, without touching arr itself.
Steps
$ char *arr[] = {"gcc", "a", "make"}; argsort_len(arr, 3, out);
1 0 2
$ char *arr[] = {"zsh", "ash", "csh"}; argsort_len(arr, 3, out);
1 2 0
$ char *arr[] = {"vim", "ed", "emacs"}; argsort_len(arr, 3, out); print out, then arr
1 0 2 vim ed emacs
$ size_t out[2] = {99, 99}; argsort_len(arr, 0, out);
99 99
Expected files
Allowed functions
None. Write every helper yourself.
Allowed headers

Objective
Implement a function that fills out with the indices of arr ordered by string length, shortest first, without touching arr itself.
Steps
$ char *arr[] = {"gcc", "a", "make"}; argsort_len(arr, 3, out);
1 0 2
$ char *arr[] = {"zsh", "ash", "csh"}; argsort_len(arr, 3, out);
1 2 0
$ char *arr[] = {"vim", "ed", "emacs"}; argsort_len(arr, 3, out); print out, then arr
1 0 2 vim ed emacs
$ size_t out[2] = {99, 99}; argsort_len(arr, 0, out);
99 99
Expected files
Allowed functions
None. Write every helper yourself.
Allowed headers

Tests
Run the tests to grade your code