sorts 10k random numbers