AppleScript: repeat with every element from start to finish

I'm trying to repeat a list but I would like to repeat the last item in the list to the most recent rather than to another.

How can I do this knowing that it will be done in the wrong order:

            repeat with each of 2 to the number of elements of creationDate
-
end of repeating

What I'm trying to do is to return the article number of the last article that contains the text "it does not matter"