.. _functx_sort-case-insensitive:
============================
functx:sort-case-insensitive
============================
Sorts a sequence of values or nodes regardless of capitalization
Description
~~~~~~~~~~~
The functx:sort-case-insensitive function sorts a sequence of values or nodes
without regard to whether they are upper or lower-case. Normally, using most
collations, all upper-case letters are sorted before all lower-case letters, so
"Z" would come before "a". It returns the items in their original
capitalization.
.. list-table::
:widths: 40 60
:header-rows: 1
* - **Parameters**
- **Description**
* - seq:item()
- the sequence to sort
Examples
~~~~~~~~
.. list-table::
:widths: 50 50
:header-rows: 1
* - **XPath**
- **Results**
* - functx:sort-case-insensitive(('a','c','B'))
- ('a', 'B', 'c')
* - functx:sort-case-insensitive($in-xml/*)
- a B c
See Also
~~~~~~~~
.. toctree::
:titlesonly:
:glob:
* :ref:`functx_sort`.
* :ref:`functx_sort-as-numeric`.
* :ref:`functx_sort-document-order`.