dumpsort.lua: handle prefix lines
more DEBUG checks