support sorting after seq. identity