order x in codeplot