Make ByCount sort consistently
authorRobert Basic <robertbasic.com@gmail.com>
Fri, 1 Apr 2016 18:17:16 +0000 (20:17 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 2 Apr 2016 20:59:10 +0000 (22:59 +0200)
commit7d5c9fbf44ad9f2fd5baed405f79f2b132dd9178
tree7f7c3b26d26beb5b196dc7f8b6fed733b90e3ef7
parentc6c2c689d602cf9d0a9bdf016e3a51a54030b072
Make ByCount sort consistently

When two or more taxonomies have the same number of pages,
sort them by name to have consistent ByCount sorting of
taxonomies.

Fixes #1930
hugolib/taxonomy.go
hugolib/taxonomy_test.go