private class PersonTreeFormat implements TreeList.Format<Object> {
@Override
public void getPath(List<Object> path, Object element) {
if (element instanceof Person) {
Person ele = (Person) element;
path.add(ele.getLastName());
path.add(ele.getFirstName());
}
path.add(element);
}