[MIGRATE][`rake sort:reset`] Add sorting index