Token sorting

Added sorting of machine and container tokens in the machine view.
While this is safe now (and performant) it may not always be the case that the token doesn't manually attach some events to elements. A safer-cleaner approach might be to loop through all of the tokens and call a local `removeContainer` method (to be implemented) which in the end will accomplish the same thing but hopefully reducing the possibility of such a bug in the future.