Sorted out step ordering