K 10 svn:author V 2 ae K 8 svn:date V 27 2015-01-17T11:32:09.008053Z K 7 svn:log V 154 Fix condition and really sort ports. Also add comment describing the intent of this code. Reported by: sbruno MFC after: 1 week Sponsored by: Yandex LLC END