fix chart order