adding post data sorting