this code will sort random numbers