MDL-41062 try to prevent duplicate grade_item sortorders.