diff --git a/src/portmanager.cpp b/src/portmanager.cpp index ff90d74..130b02d 100644 --- a/src/portmanager.cpp +++ b/src/portmanager.cpp @@ -291,6 +291,8 @@ static bool BaseSortPredicate(const Base *lhs, const Base *rhs) } } else { // Alphabetic sort + if (ac >= 'a' && ac <= 'z') ac -= 'a' - 'A'; + if (bc >= 'a' && bc <= 'z') bc -= 'a' - 'A'; if (ac != bc) { return ac < bc; }