Fix order of com ports

The comm ports were not enumerating in order on my new machine, so I had
to recurse through them to find the highest port number.