MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / sort

Method sort

JUCE/modules/juce_core/text/juce_StringArray.cpp:277–284  ·  view source on GitHub ↗

==============================================================================

Source from the content-addressed store, hash-verified

275
276//==============================================================================
277void StringArray::sort (bool ignoreCase)
278{
279 if (ignoreCase)
280 std::sort (strings.begin(), strings.end(),
281 [] (const String& a, const String& b) { return a.compareIgnoreCase (b) < 0; });
282 else
283 std::sort (strings.begin(), strings.end());
284}
285
286void StringArray::sortNatural()
287{

Callers 15

sortMidiArrayMethod · 0.45
parseStringMethod · 0.45
itemClickedMethod · 0.45
updateTableMethod · 0.45
sortOrderChangedMethod · 0.45
sortOrderChangedMethod · 0.45
restoreStateMethod · 0.45
CtrlrIDManagerMethod · 0.45
organizePanelsMethod · 0.45
findAllTypefaceNamesMethod · 0.45
sortFunction · 0.45
setValueMethod · 0.45

Calls 4

sortFunction · 0.50
beginMethod · 0.45
endMethod · 0.45
compareIgnoreCaseMethod · 0.45

Tested by

no test coverage detected