random: fix an idiotic order issue