sort transitions