Overall medal counts in Topological Sort in Prolog in chars. Ranked by golds, then diamonds, then silvers, then bronzes.