HTML changes and sorting fixes

Sorting fixes - please see description on https://github.com/diefenbach/django-lfs/pull/20