added view to sort buttons