fix sort problem and let clients notify proxies that weve had a failure