merge in nidicos fix
Revert "fix history sorting"

This reverts commit d5f696a3ad253acbe536f19746be2778da807e53.