This PR adds sortorder option in get_instance_option_names because moodle shows Moodle exception: Exception - Warning: Undefined array key "sortorder" in [dirroot]/repository/lib.php
The warning message can only be hidden by Web and the option to hide it via cli doesn't work. Thus, adding this option shows no warning message and drone CI passes for UI test.
This PR adds
sortorder
option inget_instance_option_names
because moodle showsMoodle exception: Exception - Warning: Undefined array key "sortorder" in [dirroot]/repository/lib.php
The warning message can only be hidden by Web and the option to hide it via cli doesn't work. Thus, adding this option shows no warning message and drone CI passes for UI test.
Reference: https://tracker.moodle.org/browse/MDL-81005