Author Topic: Diagram layout: sort  (Read 4064 times)

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Diagram layout: sort
« on: August 27, 2014, 01:40:07 pm »
I was laying out a diagram, sort by name ascending.
Then puzzled why the results were not alphabetically sorted.

Then I realised the results are case sensitive. EAUI in spades.

By all means provide a case sensitive sort, but please don't make it the default and only option.
When was the last time you saw a sort or dictionary in case sensitive order?
Orthogonality rules
Using EA16.1 (1627) on Windows 11 Enterprise/64 bit. Repositories in SQLServer2019 DB Schema 1558.
WebEA on Pro Cloud Server 4.2.64

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Diagram layout: sort
« Reply #1 on: August 27, 2014, 06:51:49 pm »
IIRC case sensitivity is something brought in by the RDBMS. ICR which, but EAP, MySQL and MS SQL Server have either. The question is: should EA put a layer over that mechanism and force sorting to be this or that way (like in your glossary example)? I guess that nobody put that card in the game so far?!

q.

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Diagram layout: sort
« Reply #2 on: August 28, 2014, 06:59:15 am »
Well in SQL-Server at least both the EQUALS operator and the LIKE operator are case insensitive, at least with some of the the default collation sequences (CI AS).
Or you can simply say SELECT ... COLLATE Latin1_General_CS_AS.

Certainly your average business owner, looking at something that is sorted case sensitively would wonder about whether us architects are on the same planet, IMHO.  :-X

Me, I'd like to see a global option that can trun case sensitivity off.
« Last Edit: August 28, 2014, 06:59:48 am by skiwi »
Orthogonality rules
Using EA16.1 (1627) on Windows 11 Enterprise/64 bit. Repositories in SQLServer2019 DB Schema 1558.
WebEA on Pro Cloud Server 4.2.64

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Diagram layout: sort
« Reply #3 on: August 28, 2014, 04:15:16 pm »
You know how to write feature requests ;)

So most likely it's MySQL which is case sensitive (since EAP is from the same stall as MS SEQL Server).

q.

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Diagram layout: sort
« Reply #4 on: August 29, 2014, 06:25:49 am »
I do, lol.

Interesting that some lists are sorted case insensitively


Its that koncis consistency that gets me.
Orthogonality rules
Using EA16.1 (1627) on Windows 11 Enterprise/64 bit. Repositories in SQLServer2019 DB Schema 1558.
WebEA on Pro Cloud Server 4.2.64

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Diagram layout: sort
« Reply #5 on: August 29, 2014, 07:03:09 am »
Those lists are sort "internally" and do not get cooked by the RDBMS. Konzisdend.

q.

AndyJ

  • EA User
  • **
  • Posts: 337
  • Karma: +5/-3
  • It's only a model
    • View Profile
Re: Diagram layout: sort
« Reply #6 on: August 29, 2014, 08:44:28 am »
qwerty, this inkonsident spellerating is going to make my head asplode!
Sun Tzu: "If you sit by the river long enough, eventually the body of MS Visio floats past."