Text this: The weighted Kendall and high-order kernels for permutations