in reply to Why are my functions second-class citizens?

Some people want this DWIM functionality, which inhibits to Do What You Mean.

Instead of fiddling with this magical syntax, I'd recommend writing a function my_sort with a clear interface to do what you want.

Cheers Rolf