Make Trades comparators static

No need to allocate new comparators on every new Trades instance.