Sort physical ports for move port.