def sortCirclesBySize(circles):
    """
    Sort a list of circles by size;
    The imput is a list of [x,y,r] items where r is the size
    The return is the list sorted
    """
    sortedCircles = sorted(circles,key=lambda circles: circles[2])
    return sortedCircles