now you can use --index options also with --sorted option