Larry Wall Fri, 12 Jun 2015 17:19:02 -0700
Since the sort is stable, I believe it suffices simply to sort on the .to instead of the .from.
Larry