order pins in reverse