Cpp Sorting Algorithm In Data