Add csv file download functionality and add sorting functionality to issue category headers