Long-range order in the XXZ model