fix bug in gene set sorting