I'm wondering if there's a way to somehow "order" the nodes of a given tree, so I can use numerical comparisons like greater then/less than, etc.
Here's my usage case: I'm using a planning tree "Release -> Iteration -> Story". I want to build a story wall view which shows all cards assigned to iterations on or before the next iteration (e.g. we're in I4, I want to show all cards from I1-I5). I need a range here because we start moving cards through analysis the iteration before they're played, and we get final customer signoff usually an iteration after the card is played, but sometimes later.
Right now, I'm doing this with project variables "LastIteration," "CurrentIteration," "NextIteration." I'm building my view like "Iteration = (LastIteration) OR...." This has 2 drawbacks. First, it's 3 different project variables I have to remember to roll forward and keep in sync every iteration. Second, it doesn't guarantee I see everything I want--if we DON'T sign off on stories on time, they drop off my view when I roll "LastIteration" forward. I could fix that with yet another variable "IterationBeforeLast," but that's even uglier.
What I'd prefer is some way to say "Iteration less than or equal to NextIteration" with a single project variable (or even better, "Iteration less than or equal to (CurrentIteration + 1)". This would require some way for me to "order" the iteration cards assigned to a release, so we'd know Card #96 "Iteration 1" was logically before Card#98 "Iteration 2"
I can do something much closer to what I want if I make Iteration a numeric property instead of a tree, but then I lose the advantage of the tree structure.