WHFSFolder::ReorderObjectsBefore (open)

Reorders (changes ordering field) files/folders within this object so that the objects in @a objectids are ordered just before @a before. Keeps the original ordering (with the changes), but renumbers all ordering fields.

Syntax

LOADLIB "mod::system/lib/internal/whfs/objects.whlib";

MACRO ReorderObjectsBefore(INTEGER ARRAY objectids, INTEGER before)

Parameters

INTEGER ARRAY objectids

Ids of objects to change the ordering of

INTEGER before

Id of object the reordered objects should come directly before.