def METHOD_NAME(self, sender, args):
    order_param = args.Column.SortMemberPath
    if order_param == "number":
        self.items_list = sorted(self.items_list, key=lambda x: x.number)
    elif order_param == "name":
        self.items_list = sorted(self.items_list, key=lambda x: x.name)