Use natural order sorting for FP libraries.

Fixes https://gitlab.com/kicad/code/kicad/issues/10349
This commit is contained in:
Jeff Young 2022-01-22 12:14:43 +00:00
parent de49f5090d
commit a187076438
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ std::vector<wxString> 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;