def get_items(source):
    """Retrieve all the items from the given dataset and put them
    into a list.

    Args:
        source: input dataset

    Returns:
        list of items
    """
    items = [el for el in source]
    return sorted(items)