@Mark.Ackerley indeed is correct about the fact that there exists a method in the API that allows us to set the Sequence of Revisions automatically.
Imagine that we have a revisions table like so:
All of my revisions are currently ordered by Date, but I want them re-ordered by Description.
…and resulting revisions table:
As you can see, you will need to figure out what your desired sequence is for the revisions, put them ALL in a list and just feed that new order into the Revisions.SetSequence
node.
This can be found in latest archi-lab.net package:
NOTE:
This method allows the caller to change the sequence of the Revisions within the project by specifying the new sequence. The specified sequence must include every Revision in the project exactly once.
Note that changing the sequence of Revisions can change the SequenceNumber and RevisionNumber of Revisions that have already been issued.