Permalink
Browse files

Sort tags in tag index files

  • Loading branch information...
1 parent 55d4cbd commit d38f38ea0d117c05d7c1e8b8fdabc17a39c0d354 @pvorb committed Feb 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 write.js
View
@@ -239,7 +239,7 @@ function tags(reg, conf, cb) {
function (err, tpl) {
var p = clone(conf.properties);
- p.__tags = reg.tags.toArray();
+ p.__tags = reg.tags.toArray().sort();
var file = path.resolve(tagDir, tags.index.path);
var fileContents = ejs.render(tpl, { locals: p });

0 comments on commit d38f38e

Please sign in to comment.