removing one more reference to randomSort