pulsar_crosscorr_v2: added sorting and writing of toplist file