spf13/hugo — pull request #136 by cryptix (2013-11-24 21:14:35+00:00)
Title: Added PageSorter and PagesByDate

With this you can order lists of pages by their date like this:

```html

{{ range .Site.Indexes.groups.layout.PagesByDate true }}

{{ .LinkTitle }} {{ .Date }}

{{ end }}

```
I feel kind of bad for adding another implementation of the Sorter interface but that's go is guess.

The other thing I feel bad about is the two different by functions but I think it's much better than checking sort order on every comparison.