added title based sorting