Added yml example in ordered-associations.rst

And modified it to be in a configuration-block instead of separate code-block
Merge pull request #641 from bksunday/patch-1

Added yml example in ordered-associations.rst