             "foo.map { $0 + 1 }\n",
             "foo.bar()\n",
             "foo.reduce(0) { $0 + 1 }\n",
-            "if let foo = bar.map({ $0 + 1 }) { }\n"
+            "if let foo = bar.map({ $0 + 1 }) { }\n",
+            "foo.something(0, { $0 + 1 })\n",
+            "foo.something(param1: { $0 }, param2: { $0 + 1 })\n",
+            "offsets.sorted(by: { $0.offset < $1.offset })\n"
         ],
         triggeringExamples: [
             "↓foo.map({ $0 + 1 })\n",


        return false
    }
}


        // check if last parameter should be trailing closure
        if arguments.count > 1,
            case let closureArguments = filterClosureArguments(arguments, file: file),
            closureArguments.count == 1,
            closureArguments.last?.bridge() == arguments.last?.bridge() {
            return true
        }

