PrevThingInSector
Returns the thing that has the next highest thing number than the specified thing and is in the same sector. Syntax:
thing
=
PrevThingInSector(thing);
Related:
FirstThingInSector()
NextThingInSector()