.. _sort_command:

********************************************************************************
sort
********************************************************************************

The ``sort`` command uses :ref:`filters.mortonorder` to sort data by XY values.

::

    $ pdal sort <input> <output>

::

    --input [-i] arg   Non-positional argument to specify input file name.
    --output [-o] arg  Non-positional argument to specify output file name.
