Sort ESO/VLT UVES exposures based on header-card values and write out reduction scripts (for the MIDAS and CPL pipelines).