# ucol_nif

Simple [collation]( module
based on NIf that allows you to sort binaries.

## Requirements

This module requires [icu4c]( installed on your

> OSX users: the build use the version installed with your system.

## Example of usage

    1> ucol_nif:compare(<<"foo">>, <<"bar">>).
    2> ucol_nif:compare(<<"foo">>, <<"foo">>).
    3> ucol_nif:compare(<<"A">>, <<"aai">>).

The function compare returns `1` when the initial binary is greater than
the other, `0` when they are equivalent or `-1` when the one is less than
the other.