Add sorting to virtual machines and host names on all pages

This little thing kept bugging me, so I decided to try and fix it. The order seemed to be random. At least now it is consistent.

By the way, thank you for this project!