adding h3 tag based on whether list is being sorted by tag