OPM reports: Added sorting feature in printed report page to reflect choosen sorting in web version.
Fixed broken test, also refactored code.
Added unique cache key to each report setup.
don't crash if not all params are set (and fix tests)
Merge remote-tracking branch 'upstream/master' into 144156-case
Merge pull request #4819 from lwyszomi/144156-case

OPM reports: Added sorting feature in printed CMR report page to reflect cho...