Added bar class style
added basement for sorting visualisation