Fix physical view in-rack machine ordering

The ordering of machines in a rack was random in the physical view - reorder based on machine location rank.  This restores the previous functionality of the original version of the Ganglia web interface.