For a named collection, use this procedure to update the
seq_id value of each member so that no gaps exist in the sequencing. For example, a collection with the following set of sequence IDs (1,2,3,5,8,9) becomes (1,2,3,4,5,6). If a collection does not exist with the specified name for the current user in the same session and for the current Application ID, an application error is raised.
APEX_COLLECTION.RESEQUENCE_COLLECTION ( p_collection_name IN VARCHAR2);
Table 5-22 RESEQUENCE_COLLECTION Parameters
The name of the collection to resequence. An error is returned if this collection does not exist with the specified name of the current user and in the same session.