python randomly sort items of the same value,"sorted(a, key=lambda v: (v, random.random()))"