As an example, I created a .txt file with the following content:
31 charlie 12 alpha 8 beta
When I execute the $sort command, the output is: 12 alpha 31 charlie 8 beta
Based on the fact that it's an alphanumeric sequence, I would expect "beta" to come before "charlie" since "b" precedes "c," but that's not the case.
Could someone please provide an explanation for this? I apologize for the novice question, but I'm determined to gain a thorough understanding of all the concepts covered before moving forward. Thank you in advance for your assistance.