how to sort A CLASS (not a struct) of objects by its different attributes?

后端 未结 0 961
深忆病人
深忆病人 2021-02-18 16:30

I have a class of objects Books and I would like to write 2 functions, 1 for sorting them by their Serial Number (int) and another to sort them by their Authors (string). Both a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题