String sorting is not working properly for some languages, fe:
In polish 'ń' goes after 'n', so it should be:
"koń", "kos", "kot".
Instead it is
"kos", "kot", "koń".
Best solution would be acceptance of additional function for parser object, then You could sort by any function user need (localized string sort, some special document number format sort, etc.).