Sort order tag

I added the variable 'order' to the template context so that I could create custom url link tags that included an icon with the sort order (ASC or DESC or not set).