Sort layers pulled in through file system #2

Merged
merged 1 commit into from Sep 23, 2012
View
2 layers.js
@@ -46,6 +46,8 @@ module.exports = function(server, options) {
}
});
+ directories.sort();
+
// Ensure handlers are always loaded last.
if (hasControllers) {
directories.push("controllers");