def get_older_than_n(imgs,n):
    """Returns images from the list that are older than the newest n images"""
    if len(imgs) <= n:
        return []
    else:
        imgs.sort(key=lambda img: img.attrs['Created'], reverse=True)
        return imgs[n:]