Latest by author can be any type of release.
Sort on table cell text rather than html

It's confusing to sort on something other than what is seen
and bizarre to sort on, for example, the href attribute.
Show 'all releases' link even if there is no latest

It didn't belong inside that if.