add range slider and sorting