reorder examRecords by -id so that later takes precedence