diff --git a/lib/Cake/Core/App.php b/lib/Cake/Core/App.php index e8d98b81c..2e81191b0 100644 --- a/lib/Cake/Core/App.php +++ b/lib/Cake/Core/App.php @@ -502,6 +502,7 @@ class App { if ($plugin) { return $objects; } + sort($objects); self::$__objects[$cacheLocation][$name] = $objects; self::$_objectCacheChange = true; }