A C function that implements insertion sort. The logic is implemented in a single header file that supports any numeric type.