Sort Algorightms in C