Collate Text Naturally

text · N095 · starter-package 7.0.1

Compare two texts using language-specific sorting and numeric digit groups. The result is -1, 0 or 1. Locale defaults to en. Useful for names such as part2 and part10.

Example

Connected values

{"left":"part2","right":"part10","locale":"en"}

Result

{"result":-1}

Connector data types

DirectionConnectorTypeRequired
Inputleft — Lefttextyes
Inputright — Righttextyes
Inputlocale — Localetextno
Outputresult — Resultnumberon success

Errors and recovery

Enter a valid language tag such as en-GB or nl-NL. Connect both names as text so digit groups can be compared naturally.