- revive sorting by avg run time
- use lassign
- don't duplicate entries
- use "lassign" instead of "foreach ... break" idiom