def sort_letter_paragraphs(paragraphs, ids):
    """Order a list of letter paragraphs in the same order as a list of IDs."""
    sorted_paragraphs = []
    for id in ids:
        for paragraph in paragraphs:
            if id == paragraph["id"]:
                sorted_paragraphs.append(paragraph)
                break
    return sorted_paragraphs