Fix order with es 1.0.0.

Fixes #16.

Signed-off-by: François de Metz <francois@stormz.me>
Merge pull request #19 from francois2metz/fix_16_es_v1

Fix order with es 1.0.0.