An entropy approach to the scaling of ordinal categorical data