Helper class to chain multiple Comparator functions together as a super Comparator.
Useful for implementing SQL-like "ORDER BY" for querying / processing collections.
Sample implementation with a user defined number of maximum worker threads and a user defined timeout (in ms)
after which one worker thread will be abolished.