Git commits in Moodle 3.1.x by Janek Lasocki-Biczysko

commit 616effd0d424d617d4cc61a934cf5da2d425d7ae
Author: Janek Lasocki-Biczysko <iamjanek@gmail.com>
Date:   Thu, 15 Sep 2016 02:37:49 +0800
Tag:    v3.1.3

MDL-51401 enrol: ensures correct order of roles in UI components