UV_SORT /FILE

        [CALIBRATE\]UV_SORT Key /FILE FileIn FileOut

    Creates in Fileout a sorted copy of the UV data found in FileIn.  Key can be
    The Key can be TIME for Time-Baseline ordering, BASE for  Baseline-Time  or-
    dering, or FIELDS for Mosaics. TIME ordering is required for efficient oper-
    ation of the time averaging command UV_TIME.

    The command compares the file size to the available RAM memory (more specif-
    ically  the  size  indicated  by  the  logical  name SPACE_GILDAS) to decide
    whether the operation can be done in Memory only or needs intermediate files
    to perform the sorting.