after 1b66840f, FindTarget will report multiple refs with the same location, make the sort order of the refs deterministic in FindTargetTests.