def METHOD_NAME(form, lang) -> List[str]:
    """ Returns a list of lemmas (strings) in frequency order. """
    entries = FormToLemma.objects.filter(form=form, lang=lang)
    lemma_ids = set(entries.values_list("lemma", flat=True))
    lemmas = Lemma.objects.filter(pk__in=lemma_ids).order_by("rank")
    return list(lemmas.values_list("lemma", flat=True))