[Front-end] Created a sortService under sortandfilter