This is a simple code of counting sort with c++ Counting sort is a sorting methode based on keys between a specific range. It counts the number of elements having diffrent key values. Then calculate the position of each elemnt in the output sequence with some aritmitic.