content: import java.util.ArrayList;
  
  public class SortersRunner {
  
      public static void main(String[] args) {
  
          String[] dogNames = { "Butch", "Fifi", "Spot", "Fido", "Bella", "Pepper", "Rocky", "Mac", "Happy", "Buffy" };
          ArrayList<Dog> myDogs = new ArrayList<Dog>();
          for (int i=0; i < dogNames.length; i++) {
              myDogs.add(new Dog(dogNames[i], 80.0 - i*7));
          }
  
          System.out.println("----------initial state----------");
          for (Dog d : myDogs)
              System.out.println(d);
  
          Sorters2120.bubbleSort(myDogs);
  
          System.out.println("----------BUBBLE SORT----------");
          for (Dog d : myDogs)
              System.out.println(d);
  
          Sorters2120.mergeSort(myDogs);//merge sort
  
          System.out.println("----------MEGRE SORT----------");
          for(Dog d : myDogs)
              System.out.println(d);
  
          Sorters2120.selectionSort(myDogs);
          System.out.println("----------SELECTION SORT----------");
          for(Dog d : myDogs)
              System.out.println(d);
      }
  
  
  }
  