Novalnet interview question

sorting the objects based on the property value