improved randomSort() 

Change-Id: I7e21528b5e641028e38a353d217493cda4ef1d86