Implemented ViewBase and Sorted View.