added sorting of columns before painting. changed colors the same as
default