Devices controlling the relative position of articles by arranging articles in groups or arranging grouped articles