@classdef.method("sort_by!")
    @check_frozen()
    def method_sort_by_i(self, space, block):
        if block is None:
            return space.send(self, "enum_for", [space.newsymbol("sort_by!")])
        RubySortBy(space, self.items_w, sortblock=block).sort()
        return self
dataset/ETHPy150Open topazproject/topaz/topaz/objects/arrayobject.py/W_ArrayObject.method_sort_by_i/original