partition by parity by eban

puts [$/,*$<].sort_by{|x|[1024[x[0]]|1&y=x.hex,y]}

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

download

return top