compareTo method
Compares the entry to another entry by comparing their relative start position. This will return negative if it comes before the other entry, zero if they start at the same place, and positive if this comes after the other entry in the template.
Implementation
@override
int compareTo(ExpressionEntry entry) => entry.startPosition - startPosition;