Support for custom sorting
Right now the results are sorted using the sum of all executions (with longest duration first), but there may be cases where it makes more sense to sort by another field (for example, Max duration). To support this there should be another overload on the formatter classes to allow providing a custom sort function.