--max[res|hit] not working with --sort (rev. 75)

Signed-off-by: nixnodes <code@eth.si>