Reverted changes that added get_sort_url template tag, as this caused an exception error with inlines.