add sort by genre or distance

could not switch each processing yet