I have a UML model (which is actually irrelevant as it could be any MOF model) with an ordered set I need to access from the last to the first element. I thus need to reverse it through OCL. I have seen there is the sortedBy method that needs an OCLExpression to use as sorting criterion but I can't get how to use it.
Any idea?