sortAlphabetically method

void sortAlphabetically()

Implementation

void sortAlphabetically() {
  submobjects
      .cast<SingleStringMathTex>()
      .sort((a, b) => a.getTexString().compareTo(b.getTexString()));
}