Function _updateOrderPrivate

  • Private

    When a view is a multi service view sort based on the id https://github.com/Esri/solution.js/issues/1048

    Parameters

    • layersAndTables: any[]

      The list of layers and tables for the current template

    • isSelfReferential: boolean

      Indicates if any layers or tables have relationships with other layers or tables in the same service

    • itemTemplate: IItemTemplate

      The current itemTemplate being processed

    Returns any[]

    Sorted list of layers and tables when using a multi-service view