return a.age > b.age gives value in increasinging order i.e 3, 10 ,15
but return a.name > b.name gives value in decreasding order i.e A, B, C
so what is actually correct , what does " > " and " < " sign mean
shouldn’t return a.age > b.age give value in decreasinging order like 40,30,20 because " > " symbol means greater than in math
i just want to know how the comparison works in detail for numbers and lexiographical order