Sorting criteria in a scenario before running.