Fix linux list_ports ordering.