Removed unused templates and views. Fixed sort by.