Classification of ordinal data using neural networks