public void Sort(SorterParams s)
    {
        switch (s.getType())
        {
            case SELECTION:
                SelectionSort ss = new SelectionSort();
                ss.sort(s);
                break;
            case INSERTION:
                InsertionSort is = new InsertionSort();
                is.sort(s);
                break;
            case SHELL:
                ShellSort shs = new ShellSort();
                shs.sort(s);
                break;
            case MERGE:
                MergeSort ms = new MergeSort();
                ms.sort(s);
                break;
            case MERGEHYBRID:
                MergeHybridSort mh = new MergeHybridSort();
                mh.sort(s);
                break;
            case QUICK:
                QuickSort qs = new QuickSort();
                qs.sort(s);
                break;
            case QUICKHYBRID:
                QuickHybridSort qh = new QuickHybridSort();
                qh.sort(s);
                break;
        }
    }