Sort genotypes by sample field