added dropdown for different sort methods