Counting sort in R for integers

r
752
0
Prompt
Build a counting sort algorithm in R to sort an array of positive integers.