Skip to content

Commit 46cb932

Browse files
Update workflow-definition-language-functions-reference.md
Sort Function for sorting and array of JSON objects was incorrect.
1 parent 6c1ab04 commit 46cb932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/logic-apps/workflow-definition-language-functions-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4226,7 +4226,7 @@ And returns this array: `[0,1,2,3]`
42264226
This example sorts an array of objects by key:
42274227

42284228
```
4229-
sort(createArray(json('{ "first": "Amalie", "last": "Rose" }'), json('{ "first": "Elise", "last": "Renee" }'), "last")
4229+
sort(createArray(json('{ "first": "Amalie", "last": "Rose" }'), json('{ "first": "Elise", "last": "Renee" }')), 'last')
42304230
```
42314231

42324232
And returns this array: `[{ "first": "Elise", "last": "Renee" }, {"first": "Amalie", "last": "Rose" }')]`

0 commit comments

Comments
 (0)