ordering and pagination fix

order by was unable to reset to default