Multiple choice technology programming languages

What is the default sort order in Perl?

  1. alphabetic

  2. numeric

  3. ASCII

  4. none of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Perl's default sort order is ASCII (standard string comparison), where uppercase letters come before lowercase and numbers sort differently than letters. This differs from pure alphabetic or numeric sorting, making understanding ASCII order crucial for predictable sorting behavior.