Temporary broken translation of C++ intro sort to C