ranking order fixed rmag