Algolia Instant search default order by state (`live`, 'published', 'draft')

I’m trying to fetch Algolia results in particular order, hits have state column, and state values can be live/published/draft

Data in algolia

{ name: Post1, state: draft},
{ name: Post2, state: published},
{ name: Post3, state: live}

Expected Result

Default order should be, first live then published and then show draft

{ name: Post3, state: live},
{ name: Post2, state: published},
{ name: Post1, state: draft}