Token sorting

Added sorting of machine and container tokens in the machine view.
We can sort of guess by the machine's name (0 came before 1, 0/lxc/0 came before 0/lxc/1, etc), but it gets complex when we have different types of containers - KVMs will always come before LXCs, etc.  This should be the default ordering, though, unless I'm mistaken.