Monitoring the crystallization process of nano-confined organic molecules by synchrotron X-ray diffraction