@Override
    public int compareTo(Object other) {
      return ((ThreadStack) other).getThreadName().compareTo(getThreadName());
    }
create a stack with the given initial lines, reading the rest from the Reader
geode-core/src/main/java/org/apache/geode/internal/util/PluckStacks.java