One-dimensional ordering in coasting and bunched beams