Resorting of y axis now working