Project 03: Finished implementing database and templates

Added functionality to take list from database and sort