Added Sorting in C