fix chromosome sorting