clean up ui to include sort by name and sort by value