I was not referring  to QuantityValue, i was referring to the fact that while ranks have numeric IDs, they are not comparable values (aka quantities).

I recall an email exchange with Denny and Markus where I asked whether it is intended for ranks to be sortable/comparable that way, and the answer was that not, that is not intended, and code should not rely on this. I guess I'll have to dig this up, or we'll have to clarify on the list again.