Workaround case-sensitive sort

Convert tags to lower-case when sorting, while pairing them with the original
in a string (since liquid apparently doesn't allow creating custom arrays on
the fly) to display properly

Fixes #1