extract sorting process of post/comment to helper method
rename attribute
using ajax to handle voting comments