Sorting UI

HTML:

CSS:

Javascript: