public List<List<Object>> sortList(List<List<Object>> listToSort) {
        int listSize = listToSort.size();
        boolean swapped;

        do {
            swapped = false;
            for (int i = 0; i < listSize - 1; i++) {
                int one = (Integer) listToSort.get(i).get(0);
                int two = (Integer) listToSort.get(i + 1).get(0);
                if (one < two) {
                    Collections.swap(listToSort, i, i + 1);
                    swapped = true;
                }
            }
        } while (swapped == true);

        return listToSort;
    }