Sharkovskii order by murky-satyr

puts$<.sort_by{|l|n=l.to_i;[n>(b=n&-n)?b:99-n,n]}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top