* Sort all items using quick sort and given 'CompareItems' function * @param el list to be sorted * @param compare function for evaluation of the quicksort */
| 354 | * @param compare function for evaluation of the quicksort |
| 355 | */ |
| 356 | void EngList_Sort(GUIEngineList &el, EngList_SortTypeFunction compare) |
| 357 | { |
| 358 | if (el.size() < 2) return; |
| 359 | std::sort(el.begin(), el.end(), compare); |
| 360 | } |
| 361 | |
| 362 | /** |
| 363 | * Sort selected range of items (on indices @ <begin, begin+num_items-1>) |
no test coverage detected