added to plot multiscalars ordered

- also some further code cleanup added