fix dtype of feature vector for sorting
dtype fixed