PRD-4981 - The conditional visible function is not valid in pentaho5.0.1

fixed order of subreports while processing them through inlinesubreports
Merge pull request #346 from aliakseihaidukou/PRD-4981

PRD-4981 - The conditional visible function is not valid in pentaho5.0.1