improve api reference order