Moligaloo/QSanguosha — comment on commit b87a010c1f4bcd328147ab0fd3d2edbaa2ea1c73
File:  line 0
By William8915:

In lua, if compare_func(a,b) and compare_func(b,a) both returns true, then it is probable the sort function would be considered invalid