What's the best way to order Revisions in Dynamo

I have a list of phases, and I’d to select the previous phase of the current view. What’s the best way to do this? Maybe get the sequence of revisions, much like sequence for revisions? Thanks

Actually I solved my own question. Use Document.Phases (clockwork package).