Use a reverse_iterator to order cookies