Use natural order sorting for FP libraries.
Fixes https://gitlab.com/kicad/code/kicad/issues/10349
This commit is contained in:
parent
de49f5090d
commit
a187076438
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue