It should be possible to eventually do something like this, but....
When you run into a problem like this, it's generally wise to reconsider your database design. The most obvious rewrite that comes to mind, would be to do the comparison upon INSERT or UPDATE and store the value in the current the row. I think this would be far more efficient (and far easier) than trying to work a comparative dynamic querry. Another option might be to use a second table keyed off the first to record whatever info it is you need. This could be a streamlined table optimized for a given task or something.
In any event, I think it's definately possible to do what you ask, but I think you'll be happier if you can find a different method of accomplishing your goals.