t1405: sort reflog entries in a hash-independent way