def sort_into_sections(events, categories):
    """Separates events into their distinct (already-defined) categories."""

    categorized = {}
    for c in categories:
        categorized[c] = []

    for e in events:
        categorized[e["category"]].append(e)

    return categorized