From 881dca064d88b9925c849f3ae8a8cd629e56dd70 Mon Sep 17 00:00:00 2001 From: Sara Arjona Date: Wed, 3 Jun 2020 12:01:59 +0200 Subject: [PATCH] MDL-68904 core_h5p: order libraries by title --- h5p/classes/editor_ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/h5p/classes/editor_ajax.php b/h5p/classes/editor_ajax.php index e1090eb5d95..6f293d01dc7 100644 --- a/h5p/classes/editor_ajax.php +++ b/h5p/classes/editor_ajax.php @@ -61,7 +61,7 @@ class editor_ajax implements H5PEditorAjaxInterface { ) WHERE hl2.runnable = 1 AND hl1.majorversion is null - ORDER BY hl2.machinename"; + ORDER BY hl2.title"; return $DB->get_records_sql($sql); }