For this to work, it requires my tmux fork that includes what I use as the hostname in the window list.
At any rate, it'll sort my tmux sessions alphabetically by the host I'm using.
my tmux fork: https://github.com/jordansissel/tmux
Starts with:
(0) - nightfall: zsh - /home/jls/projects/tmux/trunk
(1) carrera: screen -x irc
(2) carrera: zsh - /home/jls
(3) * ops: zsh - /home/jls
(4) nightfall: zsh - /home/jls/projects/tmux/trunk
After sorting:
(0) carrera: screen -x irc
(1) carrera: zsh - /home/jls
(2) nightfall: zsh - /home/jls/projects/tmux/trunk
(3) - nightfall: zsh - /home/jls/projects/tmux/trunk
(4) * ops: zsh - /home/jls
You can add -d option to move-window to prevent focus jumping.