Optimal scaling for survival analysis with ordinal data