fix the ids in the tests where comparing history
sort history the same everytime
5.5.13