Minor - format code.
Fixing document list order see BT#7070 and BT#6548

Fixing be2304e4bb659a4f545a9f09d8d013c6c77f468d