added comment for barber output sorting