Adding up and down attribute sort buttons.