立即学习:https://edu.csdn.net/course/play/26755/340128?utm_source=blogtoedu
operator 方法
或者,在类里面实现 magic方法
然后调用sort函数。