Sort logging config before to prevent rewrite

In practice, <% node.elasticsearch[:logging].each do |key, value| %> seems to have a non-deterministic order and thus Chef will trigger a restart of the ElasticSearch server every time the chef-client is run (10.18.2)