def get_topics(bag):
    """
    Get an alphabetical list of all the unique topics in the bag.

    @return: sorted list of topics
    @rtype:  list of str
    """
    return sorted(set([c.topic for c in bag._get_connections()]))