Fixed order of elements in the array part with `sortkeys=true` (fixes #13).