Quantised density wave ordering induced by a magnetic field in quasi-one-dimensional conductors in the weak-coupling limit