In order to activate sortable barChart feature, the line elasticX(true) from displayBar() must be removed.