. import java.io.*;import java.math.*;import java.util.*;public class Algr{ public static int array[] = new int[]{3, 9, 1, 2, 8, 11, 34, 21, 0, 23, 22, 10, 14, 2}; public enum Type{Bubble, Selection, Insert, Shell, Counter, Quick}; public static void…