insertion sort in c prepared for arena info