dynamic row order, header highlighting