Merge pull request #9 from ednapiranha/bug869087

change sorting; var refactoring related to bug 869087
[#864549] Merge LESS file from front-page branch
Merge pull request #10 from daliuss/t869087-less

[#864549] Merge LESS file from front-page branch
css styling and packery updates for media; bug 869087