Pregunta de entrevista de Novalnet

sorting the objects based on the property value