added params merge in posts#index and posts#sort_created to carry over params