When i log into the app, i can see there are two tabs, one for site home and the other for dashboard, as shown in the image. I want to sort the courses being displayed in the dashboard blocks in a chronological order, so that the last course enrolled by the user must be displayed at the top. How is this achievable?
The only sort options currently available are course full name, or last access. Additional options will need to be implemented in code.
We are currently implementing the option to sort by shortname in MOBILE-3249, there is a link to the code on GitHub there so you can see how it works. As this block is also displayed on the web, you'll need to implement the new sorting option in Moodle core as well before it can be integrated (we haven't done this yet).
If you follow the "Pull Master Diff URL" link on that tracker issue, you'll see the changes made by our developer which covers where the current sorting is applied in the app.