added methods for by-ancestor-and-sortdate-view