Strange behavior when mixing sorted and enumerate