fixed a bug when changesetid was represented by string type and was sorted incorrectly