Chemical Design and Magnetic Ordering in Thin Layers of 2D Metal–Organic Frameworks (MOFs)