Sort function does not sort my structure in Swift

前端 未结 0 411
生来不讨喜
生来不讨喜 2020-12-20 08:10

I have a structure defined below: I want the structure to be sorted by ascending order.

struct Share
{
   let firstColumn: String
   let secondColumn: String
         


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