Give Drivers a higher priority in the autoloader
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 535c9e4..4d0cd09 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -1197,6 +1197,15 @@
 			}
 		}
 
+		// Autoload drivers
+		if (isset($autoload['drivers']))
+		{
+			foreach ($autoload['drivers'] as $item)
+			{
+				$this->driver($item);
+			}
+		}
+
 		// Load libraries
 		if (isset($autoload['libraries']) && count($autoload['libraries']) > 0)
 		{
@@ -1214,15 +1223,6 @@
 			}
 		}
 
-		// Autoload drivers
-		if (isset($autoload['drivers']))
-		{
-			foreach ($autoload['drivers'] as $item)
-			{
-				$this->driver($item);
-			}
-		}
-
 		// Autoload models
 		if (isset($autoload['model']))
 		{