added methods to sort by title or release date, and to highlight
selected header