more sorting updates