fixed sorting by edition number