Add sort-related indexes