sort indexing work (experimental)