text: public virtual void Sort(RevSort s, bool use){AssertNotStarted();if (use){sorting.AddItem(s);}else{sorting.Remove(s);}if (sorting.Count > 1){sorting.Remove(RevSort.NONE);}else{if (sorting.Count == 0){sorting.AddItem(RevSort.NONE);}}}