def get_sort_key(realm):
    """Returns a sort `key` function for the argument of the same name of
        `sorted` or `list.sort`. By default this can be `None` for normal
        sorting. Providers with numeric resource ids should return `int` or
        a similar function to enable numeric sorting.
        """
    pass
