C Source Code/Array in ascending order