Test string for greater than

I can’t find a way to test if string is greater than another string, e.g. stringVariable > “X”.

Node Greater Than doesn’t work, nor stringVariable > “X” in a code block (although stringVariable == “X” and stringVariable + “X” do work).


Greater than in what aspect? Length?

Test if a letter comes before other letters.

is “X” > “Y” would be true.