sort servers by type and number