cleanup sorting functions in controller and backbone
ui for modal card popover