This makes me really sad.  It's nasty to have to know in the comparator whether or not an item is a proxy.  

Still, the alternative is something like creating a series of objects from paths which seems like overkill for an internal object.  If you can think of something simpler, that would be great.