Added an option to piechart to allow users to preserve the order
of the values provided so that the pie section colors are always
consistant.