added link caret change to sorting