fixed sorting page issue not displaying data