Create counting-sort