Permutation combinatorics of worldsheet moduli space