fix the color bar; sorting;