I've used the sort folder tabs script
and updated it to be able to sort by tab name or folder and tab name
I'd like to be able to press the control key when clicking the icon
to control whether the folder is included in the sort
Standard opus functions can use the command modifier @keydown to
detect whether a particular key is down.