invest.views sort_index before passing to d3
Merge branch 'dj1.7' of github.com:hobson/pug into dj1.7