fixed queue sort by case branch