reverse order of modulpositions