<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def order_qc_dir(dirnames):
 """Order the QC directory names according to their date. :param dirnames: the list of directories to merge data from. :type dirnames: list :returns: the sorted list of directories :rtype: list """

    return sorted(
        dirnames, key=lambda dn: time.strptime(
            os.path.basename(dn.rstrip("/"))[14:],
            "%Y-%m-%d_%H.%M.%S",
        )
    )