Added a flexible comparator that will sort without considering ngram overlap. Added a flexible top ngram result search which sorts the top 3 tiers of overlapping ngrams together (rather than individually).