py class to sort qtl tab by group