Add the sort option to the stage.