Major Category Sorting (Pilot)

  • 1
  • Question
  • Updated 5 months ago
  • Acknowledged
  • (Edited)
We noticed the major category is not sorting correctly when all caps are used. Please see screenshot below. STEM should appear after Society, but it appears before. Is this expected behavior? I did a test with title caps and it sorted that category name correctly, but STEM is an acronym and should be in all caps. Thank you.


Photo of Jordan Seja

Jordan Seja

  • 3 Posts
  • 1 Reply Like

Posted 5 months ago

  • 1
Photo of Merrie Wales

Merrie Wales, Official Rep

  • 960 Posts
  • 57 Reply Likes
When I submit an app in Pilot this is what I see:
Photo of Jordan Seja

Jordan Seja

  • 3 Posts
  • 1 Reply Like
Did you change our majors in pilot? Someone updated them today at 3:33pm. Our major codes end with a letter, not a number.

The original formatting had STEM in all capital letters because it is an acronym. You can see this in the pilot app right now if you log in from the student side without changing anything. When STEM is in all capital letters, CCCApply is sorting it out of order relative to Society.

Photo of Merrie Wales

Merrie Wales, Official Rep

  • 960 Posts
  • 57 Reply Likes
Jordan,
To better facilitate an on-going dialog / work process for your question I have created a Zendesk ticket and will continue this discussion in that ticket.
Merrie
Photo of Michael D. Ward

Michael D. Ward

  • 7 Posts
  • 8 Reply Likes
Actually, that is correct on how sorting works where upper letters will sort first before lower case.  That is based on the associated letter hexadecimal value.  So the next letter after the upper case S for STEM is upper case T (hex 54; decimal 84) and the next letter for Society is lower case o (hex 6F; decimal 111).  Thus the upper case T is lower in value than lower case o and so STEM sorts first before Society.  While many know what the STEM acronym represents you may have students who do not so maybe consider expanding that out to Science/Tech/Engineering/Math/Health/Fitness and then that would have a visually correct sort appearance?
Photo of Jordan Seja

Jordan Seja

  • 3 Posts
  • 1 Reply Like
Thank you, Michael. That answers my question regarding whether this is expected behavior or not. We will figure something out on our end.
Photo of Michael D. Ward

Michael D. Ward

  • 7 Posts
  • 8 Reply Likes
Forgot to provide reference links in case others wonder where I got the letter values. 
Here are some ...
http://www.asciitable.com/
https://unicode.org/charts/PDF/U0000.pdf
I provided the ASCII table link just because it is easier to read the values (and for the most part most ASCII tends to also be the same in UTF-8/Unicode although not all).
I believe CCCApply officially uses UTF-8/Unicode characters for their website and backend.