Issue #2032967 by catch, joelpittet, thedavidmeister, alansaviolobo:...
Issue #2032967 by catch, joelpittet, thedavidmeister, alansaviolobo: AssetResolver::getCssAssets() should not try to sort and optimise if $css is empty
(cherry picked from commit dc39dd56)