It should be based on the last modified date, so in that sense, yes.
The complexity perhaps comes in when Workspaces and filters come in. We don’t have a way to read what is currently applied.
If you are strictly using workspaces and have a different keyboard row for each workspace, you could tailor the next/previous actions accordingly