SurvRNC: Learning Ordered Representations for Survival Prediction using Rank-N-Contrast