Fix wrong sort function of post list, since post data has already been changed from HashMap to CartPost.