bugfix: --make-bed was throwing away major allele codes when map was unsorted and minor allele code was missing