I want to compare two strings to decide whether the first string is 'smaller' than the second string.
<#if name1 <= name2>
....
</#if>
Error:
Can't use operator "<=" on string values.
Can this be done in FreeMarker? Is it possible to call the String.compareTo
method in a template?