Stata的.如何按自定义顺序订购变量?

CHE*_*HKA 1 stata

我有以下内容:

state income stateID race year education
 IL     200    12     2    12    15
 ML     230    32     12    2    10
 ....................................
Run Code Online (Sandbox Code Playgroud)

有没有办法切换变量的斑点,所以它看起来像:

state stateID  year  income  race  education
  IL     12    12     200     2     15
  ML     32    2      230     12    10
 ....................................
Run Code Online (Sandbox Code Playgroud)

order _all.我不需要按字母顺序排序,我需要定制订购.

Dim*_*rov 5

怎么样order state stateID year income race education