Sort function to song titles and artists