sort by episode

would fix #721.