added single buttons for sorting in visits