Bead Sort by Hendrik

j="".join
r=list(open('/dev/fd/0'))
print j(map(j,zip(*[j(j(i).split('|')).rjust(len(r)-1,'|')+'|'for i in zip(*r)])))

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

download

return top