Improve the dereplication function
Improve the dereplication function

Add a sorting by hash code to guarantee the perfect stability of
dereplication results, even if the dataset input-order is modified.

torognes/swarm,torognes/swarm,torognes/swarm