I know this has been asked before, but I didn't find the correct answer to fit the situation i am looking at. Please to not refer me to the discussion previously posted in October - I read that one. The quizzes are supposedly sorted by due date - but this is what I am looking at on my feed - These are in neither alphabetical order or due date order . Only one is listed as closed, not sure what that is about either. The first 6 quizzes are not sorted the way the rest of the tests at the bottom are sorted. The top 6 are by date, then the rest are actually sorted by alpha then date. I would love to have control over this sorting. Must be my type-A personality. : )
Since you're not sure what the closed is about, you may not be familiar with the role of the different dates and that could cause the list of quizzes to seem to be in a random order.
There is a sort order specified in the source code. Starting at line 57 of the quizzes_controller.rb file is the definition used for the index, which is the list of quizzes. In lines 73-79, you have this:
quizzes = scope.sort_by do |quiz|
due_date = quiz.assignment ? quiz.assignment.due_at : quiz.lock_at
due_date || CanvasSort::Last,
Canvas::ICU.collation_key(quiz.title || CanvasSort::First)
In my limited understanding of the Ruby programming language, I take that to be something like this:
For assignment quizzes, look at #1. For other types of quizzes, look at #2.
There's another kink in the mix. On the page that actually displays the quizzes, there is a directive to repeat this process for each item group. Those appear to be Assignment Quizzes, Practice Quizzes, and Surveys in that order. Those appear on my Quizzes page in separate sections and are collapsible and the screen shot you gave was all one section, so it's probably not the issue with what you're experiencing.
There's another possible wrench here. There are a couple of other filters thrown in here that take place if you're a student or if you have differentiated assignments (you do). Those take place before the sort, so they shouldn't change the order things are presented in, but they might change what is presented.
So, here's what I would do if I were trying to diagnose this.
I would have to concur with Kathleen. I use Chrome and mine don't appear to be sorted chronologically. I wish there was a way to sort alphabetically, but wasn't sure if was worth putting in the idea, since others have seemed fine with it. As James suggested, I let it go . . . but alphabetical sorting would definitely make it easier to find things. For now, I just use a search command if I can't quickly locate it.
Yes, thank you, @James for mentioning @kona 's approach. That's what I do too. In fact, I hide all of the navigation tabs except Home, Modules, and Grades from students. They can access everything they will need to complete the course from links in Modules. Having said that, I checked my Quizzes page (hidden from students) and noted that the quizzes are categorized by assignment group and display in precise due date order under their respective groups.
Then, it would be highly susceptible to breaking changes when Canvas goes through and changes something on the back-end. The best way to address the issue would be from the Canvas side of thing.
Their sort order is by date and asking them to change to alphabetically probably won't get the votes because students want to know what they have to do and when they have to do it and that's date order.
Now, if you do like me and name all your quizzes like "Chapter 1 Quiz 1", then they are both date order and alphabetical.