make the slide bar sorted