On our installation of moodle we sort courses in the user dashboard by when they were last accessed. I have noticed that whenever I open the moodle app and just look at the dashboard and then go back to the dashboard on our moodle website, it seems to have randomised the order in which the courses are showing.
We have looked a bit into it and it seems that whenever a user accesses the moodle app the "user_lastaccess" table is updated for all visible courses that user is enrolled to. So all courses suddenly have the same time stamp in the "user_lastaccess" table. I guess it should only update the time stamp for any specific course whenever it is actually visited in the moodle app (and not just by opening the moodle app dashboard).