added sort dropdown, other minor changes