public void SortByCost()
 {
     MergeSort.Sort(droidCollection, lengthOfCollection);
 }
Ejemplo n.º 2
0
        //This method calls the merge sort on the droid collection.

        public void DroidMergeSort()
        {
            MergeSort.Sort(droidCollection, SizeCheck());
        }