code: public static <E extends Comparable<E>> void sort(E[] array) {
          while(!Sort.isSorted(array)) {
              FYShuffle.shuffle(array);
          }
      }
docs: Sort the array in ascending order using this algorithm.
  
  @param <E> the type of elements in this array.
  
  @param array the array that we want to sort