TISTUD-3515 - Sort multiple annotations according to their offset or line number
Use StringUtil