randomSortList in the internal namespace