using a tabset
do some sorting to get better graphs when using complex colourby