adding api calls for category sort