Fix hash diff ordering

Prior to this commit we had the wrong ordering in the comparer