`sort_by_first` appears inappropriate.  How about `compare_by_first`?