@Override
    public List<Integer> sort(List<Integer> list) {

        // checking input parameter for null
        if (list == null) {
            throw new IllegalArgumentException("ArrayList not specified!");
        }

        // moving forward through array
        for (int i = 0; i < list.size() - 1; i++) {

            // look at all remaining elements to see if there is something smaller
            for (int j = i + 1; j < list.size(); j++) {

                if (list.get(i) > list.get(j)) {
                    // exchange the two values if there is
                    appUtil.swap(list, i, j);
                }
            }
        }
        return list;
    }