Currently, due to restrictions in the query DSL (#34221), null cannot be placed first or last regardless of the order as they obey the order (first if ASC, last if DESC).
This option is supported when searching without grouping though.
Once the fix lands in ES, SQL should follow suit.