public void combSort() {

        Boolean swapped = false;
        Integer gap = this.numbers.size();
        while (gap > 1 || swapped) {
            gap = (int) (gap / 1.247330950103979);
            if (gap < 1) {
                gap = 1;
            }
            Integer i = 0;
            swapped = false;
            while ((i + gap) < this.numbers.size()) {
                if (this.numbers.get(i) > this.numbers.get(i + gap)) {
                    swapped = true;
                    swap(i, i + gap);
                    //System.out.println("swapping "+i+i+gap);
                }
                i++;
            }
        }
    }