Jump to content

Sort numbers lexicographically: Difference between revisions

m
→‎{{header|RPL}}: tweaked code
mNo edit summary
m (→‎{{header|RPL}}: tweaked code)
Line 1,572:
 
=={{header|RPL}}==
{{works with|HP|4948}}
≪ ≪ n →STR ≫ 'n' 1 4 ROLL 1 SEQ
≪ { }
1SORT ROT '''FOR'''STR→ j DOLIST
j →STR + '''NEXT'''
SORT ≪ STR→ ≫ MAP
≫ '<span style="color:blue">LEXICON</span>' STO
 
1,150

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.