Making comparators public so they can be accessed from the note dialog