Thanks @partyush , I have made sure the propertyname is same is with graphql query. The problem is when I changing it datatime It starts sorting but when I am using date Its not working out. Yes, through Js we can sort. But what can be the cause thats it not sorting in graphql