Re-order states to run sync-db closer to bottom.