// Method to sort the droids based on total cost public void TotalCostSort() { MergeSort.Sort(this.droidCollection); }
/// <summary> /// Method to send the array of droids into the MergeSort class for sorting by /// the TotalCost of each droid. /// </summary> public void MergeSortByTotalCost() { MergeSort mergeSort = new MergeSort(this.droids); }
public void SendToMerge() { //MergeSort merge = new MergeSort(); MergeSort.sort(droids); }