public List<ValueType> getSortedList() {
        ListElement<ValueType> current = currentList.getHead();
        while (current.getNext() != null) {
            ListElement<ValueType> help = currentList.getHead();
            while (help.getNext() != null) {
                if (compareTool.firstBigger(help, help.getNext())) {
                    changeValue(help,help.getNext());
                }
                help = help.getNext();
            }
            current = current.getNext();
        }       
        return currentList;
    }