use sort_c also when processing families

The one-time effect should be visible in the plyr package. (On my system, I had bogus changes here.)
I believe that this are the last instances where sort was used instead of sort_c.