public ListIterator<Message> getReverseMessageHistory(){
        final LinkedList<Message> list = new LinkedList<>(getHistoryFromCache());
        // Sort messages. Messages may be out of order when running inside of a cluster
        list.sort(new MessageComparator());
        return list.listIterator(list.size());
    }
Obtain the current history to be iterated in reverse mode. This means that the returned list 
iterator will be positioned at the end of the history so senders of this message must 
traverse the list in reverse mode.

@return A list iterator of Message objects positioned at the end of the list.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/HistoryStrategy.java