HW1 (Emilijus Grasys)

Pretty good answer. This won't give a uniformly random ordering, but pretty good.