align and compare tables