in reply to Re: Finding Previous and Next in a HASHin thread Finding Previous and Next in a HASH
This is very much like what I was trying to do earlier. And this is the solution I ended up using.