fixed a bug where in the arff file the classes were not ordered