sort parent proxies by priority, close #3