added asc desc to api