def all_instances():
    """Iterator over all the remote_dispatcher instances"""
    return sorted([i for i in asyncore.socket_map.values() if
                   isinstance(i, remote_dispatcher.RemoteDispatcher)],
                  key=lambda i: i.display_name or '')