Row sorting html was 1 off