{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "file-manager-custom-sorting",
  "framework": "vue",
  "type": "registry:component",
  "component": "FileManager",
  "variant": "custom-sorting",
  "dependencies": [
    "@syncfusion/ej2-vue-filemanager"
  ],
  "description": "File manager that applies a natural sort comparer so numbered folders sort in numeric order.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 3 (v35.1.37)",
    "license": "commercial-or-community",
    "licenseNote": "The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md",
    "requiresLicenseKey": true,
    "requiresServerEndpoint": true,
    "platformIndex": "https://ai.syncfusion.com/vue/llms.txt",
    "skillPack": "syncfusion/vue-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/vue/file-manager-custom-sorting.md"
  },
  "files": [
    {
      "target": "src/components/file-manager-custom-sorting/FileManager.vue",
      "content": "<template>\n  <div class=\"control-section file-custom-sorting\">\n    <div class=\"sample-container\">\n      <ejs-filemanager\n        id=\"file-manager\"\n        :ajaxSettings=\"ajaxSettings\"\n        :sortComparer=\"sortComparer\"\n        :detailsViewSettings=\"detailsViewSettings\"\n      />\n    </div>\n  </div>\n</template>\n\n<script lang=\"ts\">\nimport { FileManagerComponent, DetailsView, NavigationPane, Toolbar, sortComparer } from '@syncfusion/ej2-vue-filemanager';\n\nexport default {\n  components: {\n    'ejs-filemanager': FileManagerComponent\n  },\n  data() {\n    return {\n      ajaxSettings: {\n        url: 'https://physical-service.syncfusion.com/api/NaturalSorting/FileOperations',\n        getImageUrl: 'https://physical-service.syncfusion.com/api/NaturalSorting/GetImage',\n        uploadUrl: 'https://physical-service.syncfusion.com/api/NaturalSorting/Upload',\n        downloadUrl: 'https://physical-service.syncfusion.com/api/NaturalSorting/Download'\n      },\n      sortComparer: sortComparer,\n      detailsViewSettings: {\n        columns: [\n          { field: 'name', headerText: 'File Name', minWidth: 120, width: 'auto', customAttributes: { class: 'e-fe-grid-name' }, template: '${name}', sortComparer: sortComparer },\n          { field: 'size', headerText: 'File Size', minWidth: 50, width: '110', template: '${size}' },\n          { field: '_fm_modified', headerText: 'Date Modified', minWidth: 50, width: '190' }\n        ]\n      }\n    };\n  },\n  provide() {\n    return {\n      filemanager: [DetailsView, NavigationPane, Toolbar]\n    };\n  }\n};\n</script>\n\n<style scoped>\n.file-custom-sorting .sample-container {\n  margin: 10px 10px 10px 10px;\n}\n</style>\n"
    }
  ]
}