Elasticsearch sort not working on nested field. It's showing mixed of ascending and descending values. Like 40, 30, 50 . It's not showing in ascending order like this: 30, 40, 50
Query:
"sort": [
{
"sellerInfoES.offerPrice": {
"order": "asc",
"ignore_unmapped": true,
"missing": "_last"
}
}
]