Simplify display of sorting links
Inline helper methods