Example #1
0
 /// <summary>
 /// Sorts the discounts by percentage from largest to smallest.
 /// </summary>
 public void SortByPercentage()
 {
     IComparer sorter = new PercentSortHelper();
     InnerList.Sort(sorter);
 }
Example #2
0
        /// <summary>
        /// Sorts the discounts by percentage from largest to smallest.
        /// </summary>
        public void SortByPercentage()
        {
            IComparer sorter = new PercentSortHelper();

            InnerList.Sort(sorter);
        }