add sorting method to comments and reorganized discussion view