Add new views and sorting for updated database model.