You are viewing a single comment's thread. Return to all comments →
for the code: if a.name < b.name: return -1
why here return -1, but not 1?
Sorting: Comparator
You are viewing a single comment's thread. Return to all comments →
for the code: if a.name < b.name: return -1
why here return -1, but not 1?