diff --git a/core-bundle/src/Resources/contao/dca/tl_templates.php b/core-bundle/src/Resources/contao/dca/tl_templates.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/dca/tl_templates.php
+++ b/core-bundle/src/Resources/contao/dca/tl_templates.php
@@ -456,6 +456,8 @@ class tl_templates extends Backend
 			}
 		}
 
+		ksort($arrComparable);
+
 		/** @var BackendTemplate|object $objTemplate */
 		$objTemplate = new BackendTemplate('be_diff');
Sort the templates drop-down menu in the diff view (see #<I>)