changed the index order

Signed-off-by: Xiaofeng QU <xiaofeng.qu.hk@ieee.org>