in reply to sorting number
# I want to print CORE1 CORE12 CORE233 CORE8 COREA11 COREA12 COREA115 COREA130
This is not the ordering produced by either Tux's solution or by GrandFather's solution (both of which produce the same ordering), and I don't understand what you want | the internal logic of the ordering you have specified. Can you please clarify?
Give a man a fish: <%-{-{-{-<
|
|---|