title: How does Get Metadata order/sort its output?
body: <p>I have set up a DataFactory pipeline that gets a list of files in Azure Data Lake Storage Gen2 then iterates over each files using a ForEach loop.</p>
  
  <p>Im using a Get Metadata activity to produce the list of files and the argument its outputting is 'Child Items'.</p>
  
  <p>I want to make sure the list (child items) is always sorted in name order. My question is what is the default sorting method for child items or can i sort this manually?</p>
  
  <p>Thanks</p>
  
  <pre><code>            "name": "GetMetadata",
              "description": "",
              "type": "GetMetadata",
              "dependsOn": [
                  {
                      "activity": "Execute Previous Activity",
                      "dependencyConditions": [
                          "Succeeded"
                      ]
                  }
              ],
              "policy": {
                  "timeout": "7.00:00:00",
                  "retry": 0,
                  "retryIntervalInSeconds": 30,
                  "secureOutput": false,
                  "secureInput": false
              },
              "userProperties": [],
              "typeProperties": {
                  "dataset": {
                      "referenceName": "Folder",
                      "type": "DatasetReference"
                  },
                  "fieldList": [
                      "childItems"
                  ]
              }
          },
  </code></pre>