add sorting invoice items to positions on loading from document