我知道有List<string>,但我需要使用Set<string>。有没有办法按字母顺序排序?
List<string>
Set<string>
Set reasons = { 'Peter', 'John', 'James', 'Luke', }
set dart flutter
dart ×1
flutter ×1
set ×1