Sort list of switch ports in mac.html page