move columns between all rows + small bugfix when sorting columns