got sort working just need to add the js to render response!!!!!!