given an array A$A$ of n$n$ numbers in range $1$ to $nlogn$$n\log n$, what is the time complexity of the best method to sort them?
The answer is $O(n)$ but I don't understand this. of course counting sort itself is irrelevant, perhaps radix sort with base changing is the way to go, but I'm not sure of to change the base of $nlogn$$n\log n$.