By default, Perl's sort function performs a standard ASCII-betical (lexicographical) comparison. When sorting the strings '100', '80', and '70', '100' comes first because its leading character '1' is ASCII-ordered before '7' and '8', yielding 100 70 80.