linear_sort()Sort an array of positive integers in linear time. Array elements will be arranged from lowest to highest. This function uses Counting Sort as its backend
linear_sort(data)
data (array) — An array to be sorted. All of the elements must be positive integer numbers
boolean — Always returns true
import sorting
data = [23, 9, 10, 2, 5]
linear_sort(data)