Output csv of ranks to stdout