public Match[] getMatches()
	{
		Match[] theMatches = this.toArray(new Match[0]);
		Arrays.sort( theMatches );
		return theMatches;
	}
@return The sorted array of matches.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/match/MatchSet.java