workflow import: adding sequence index when importing to keep the steps in the right order.