No sorttok is necessary unless you didn't check the "sort buttons" under mirc's display option. When checked, the list will be listed alphabetically. You can do this the non-regex way in one line with a loop:
alias chans while ($chan($0)) tokenize 32 $1- $v1 | echo -a $2-
Sort buttons
If this option is turned on, window buttons are sorted alphabetically as opposed to the order in which windows were opened.Why go the extra mile when something is handy for you to grab?