MultiSort – sorting algorithm – library MetaTrader 5

MultiSort - sorting algorithm - library for MetaTrader 5
A sorter class to sort an array based on other arrays. //+——————————————————————+ //| class MultiSort<TItem,TKey1,TKey2,TKey3>.                        | //| Usage: Sorter class to sort an array based on other arrays.      | //+——————————————————————+ template<typename TItem,typename TKey1,typename TKey2,typename TKey3> class MultiSort   { public:    //— method to sort items by keys    void              SortBy(TItem& items[],                             TKey1& keys1[],                             TKey2& keys2[],                             TKey3& keys3[],                             bool   … Read more