This commit is contained in:
2024-04-30 07:08:23 +02:00
commit a711247971
2043 changed files with 16874 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
# -*- mode: snippet -*-
# name: sortarrayofstrings
# key: sortarrayofstrings
# --
$1.sorted { (a, b) -> Bool in
let comparisonResult = a.compare(b,
options: [],
range: a.range(of: a),
locale: Locale.current)
return comparisonResult == .orderedSame
}