I wanted to show another way, with one method ->sort combined with various ->by_val , ->by_something but it's impossible to test with the spare information provided.
In reply to Re^3: How can I access object data in a user defined sort cmp function?
by LanX
in thread How can I access object data in a user defined sort cmp function?
by tkguifan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |