public static int[] selectSort(int[] arr) {
        int swapCount = 0;
        for (int i = 0; i < arr.length; i++) {
            int temp = i;
            for (int j = i + 1; j < arr.length; j++) {
                if (arr[j] < arr[temp]) {
                    temp = j;
                }
            }
            if (temp != i) {
                ArraySort.swap(arr, temp, i);
                swapCount++;
            }
        }
        System.out.println("swap count(select sort): " + swapCount);
        return arr;
    }