Rename function to counting_sort