sorting based on code classes defined in plot_helper