Hash sorting hack on 1.8.7

Prior to this commit in 1.8.7 the output is not ordered
I dont want to deal with sorting it yet