RANKING AND PERCEPTRON LEARNING