In our 1.83 production server
we get the same problems from time to time.
They are not ordered using the timemodified field or in the order they were entered.
They show up in the same order they appear in the database. Inserted is an example from one of our courses. The teacher has them named in order and they were inserted in order.
However, 7-1 appears in the beginning of the displayed grades in both the phmyadmin view if the database and in the gradebook. Notice that the ID of 1070 is out of order in the database.
If it was being inserted by timemodified (which I think it should) then it would be in order as well. I am unclear what field this is sorted on, if any. If I made the database order by timemodified that would fix this error. I am hesitant to do so because I am not sure how and grades are due this week.
As a side note, my teacher reports of the student grades are in the same wacky order. I would kill two birds with one stone if someone could tell me how to fix it!
As I finished writing this I decided to try something... and it worked.
1. I opened phpmyadmin, went to the grade_events table and hit the operations tab.
2. At the top there is an option to Alter Table Order By and I set that to timemodified and hit go.
And...it is fixed.