Sorting entries by projectname(ASC) and ticket id