Sorting Array Without Sort Method In C