fftrees_ranktrees function

Rank FFTs by current goal