only process the last entry in the done queue

limit the number of matched items prior to sorting to trade accuracy
for performance