Called once? It is called every time in both `sort_by` and in `each`.

I don't think it is a big deal... I was just pointing out why it was there. Reducing method calls in ruby is measurably beneficial. In this case, probably not so much... but I try  where I can.