You have these ordered as `indexOfAny(...)`, `lastIndexOfAny(...)`, `indexOfAny(..., index)`, `lastIndexOfAny..., index`.

This is (IMO) confusing, and inconsistent with the ordering of the `indexOf`/`lastIndexOf` functions.