[Front-end] Modified the style when we try to sort something. Also added in a model and controller.