public static void sort(int[] randomSet)
        {
                int i = 0;
                int m = 0;
                while(i < randomSet.length)
                {
                        int j = i + 1;
                        m = randomSet[i];

                        while(j < randomSet.length)
                        {
                                if(randomSet[j] < randomSet[i])
                                {
                                        m = randomSet[i];
                                        randomSet[i] = randomSet[j];
                                        randomSet[j] = m;
                                }
                                j++;
                        }
                        System.out.println("Efter " + (i + 1) + " iterationer " + Arrays.toString(randomSet));
                        i++;
                }
                System.out.println("Efter sortering: " + Arrays.toString(randomSet));
        }