display order in output area configurable
fix bad logic
jslint
Merge pull request #2911 from Carreau/output-order-conf

display order in output area configurable