Add util for dumping ordering for a layout graph