diff --git a/common/lib_table_base.cpp b/common/lib_table_base.cpp index 97cad91ccf..eb478b83d0 100644 --- a/common/lib_table_base.cpp +++ b/common/lib_table_base.cpp @@ -286,7 +286,7 @@ std::vector LIB_TABLE::GetLogicalLibs() std::sort( ret.begin(), ret.end(), []( const wxString& lhs, const wxString& rhs ) { - return lhs.CmpNoCase( rhs ) < 0; + return StrNumCmp( lhs, rhs, true /* ignore case */ ) < 0; } ); return ret;