stagedlg: index sorting extended