import glob


def auto_glob(path):
    """Shorthand for sorted(glob.glob(path))

    Args:
        mask (str): Globabble path
    
    Returns:
        list : List of paths that match the globbable part.    
    """
    if not isinstance(path, list):
        return sorted(glob.glob(path))
    
    return path