In what order does my open margin position close?