Plugin priority does not appear to work, which can be disabling #115

Merged
merged 1 commit into from Jan 2, 2012
View
@@ -550,7 +550,7 @@ class Docpad
# Next
(err) =>
- @pluginsArray.sort (a,b) -> a.priority < b.priority
+ @pluginsArray.sort (a,b) -> a.priority - b.priority
logger.log 'debug', "Plugins loaded for #{pluginsPath}"
next(err)
)