use array appender
merge line breaking and rendering loop
parameterize the type of the line of cells
add bgra pixel format
make it easy to switch pixelformat in app.d
use multiSort() instead of sort()