added sorting support
Merge remote branch 'origin/newtheme' into dev