def METHOD_NAME(self, rect):
    """ (x, y)
        Order: TL, TR, BR, BL
    """
    tmp = np.zeros_like(rect)
    sums = rect.sum(axis=1)
    tmp[0] = rect[np.argmin(sums)]
    tmp[2] = rect[np.argmax(sums)]
    diff = np.diff(rect, axis=1)
    tmp[1] = rect[np.argmin(diff)]
    tmp[3] = rect[np.argmax(diff)]
    return tmp