sorting column spacing so they are evenly spaced when empty columns are hidden