added sorting into the view replies section