add sort order to templates and styles
Merge pull request #5 from bozz/add-sort-order

add sort order to templates and styles