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