qsort workaround: multiple compare_kmers functions and a switch statement