sorting time; popover on click