check a text is before or after another text

Useful to check text order or sorting in a web table
Updated in new commit [9c0a969]. Thanks!