Closed kr0st closed 6 years ago
First approach was to write a compare function in ChaiScript and then feed this compare function to std::sort algo. This failed due to severe performance issues, see #6
ChaiScript turned out to be not very useful for sorting json strings.
This needs to be a separate script file that takes configuration array from C++ application and based on this configuration it is able to return which log entry has higher order of the 2 log entries the sorting function takes as arguments.