[642] Updated sort term in api