An array holds only 0s, 1s and 2s. Sort it in place in one pass, without a library sort. Too many requests from your network. Please wait a minute.