String is: a0. Name, a2. Name, a1, name, ao. Id, a1. Id, a2. Id
To convert: a0. Name, a0. Id, a1. Name, a1. Id, a2. Name, a2. Id
Specific what to do ah, algorithm or write a method can be
CodePudding user response:
In the list. The Sort (); To achieve theCodePudding user response:
List. The Sort (); Can realize but there is a problem; For example, a0, a1, a11, a10, a2 sort will have problemsBaidu to need to write a class inherits Icomparer interface, but I didn't understand, the wrong (not instantiate) isn't need to refer to what?