get sort information by redirect