Author Topic: Sorting Elements Alphabetically in Custom Template (EA 15.2)  (Read 472 times)

pb17

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
In Enterprise Architect 15.2, I'm trying to fetch information using a custom template. I'm using different sections to navigate through connectors and extract the relevant information.

However, when I'm at the source element level, I'm unable to sort these elements alphabetically. Here's the structure I'm using:

package >
    element >
       {Element.Name}
        connector >
            source >
              element >
                {Element.Name}  --> Not sorted correctly
                {Element.Notes}
              < element
            < source
        < connector
        child elements >
        < child elements
    < element
< package
I also tried using the "Order By" filters in the Document Options, but that didn’t work either.

Is it possible to sort these elements alphabetically using this template structure?

Thanks in advance!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Sorting Elements Alphabetically in Custom Template (EA 15.2)
« Reply #1 on: June 03, 2025, 10:58:15 pm »
No, I don't think so.
You'll probably need to use a SQL fragment is you need sorting.

Geert