sorted_yaml Following the thread found here https://gist.github.com/halkeye/2287885 I needed same thing for yaml, so I modified one of the above scripts for yaml syntax. No complex structures though, just enough to get me going.