After a derivate is created the maindoc is not the lexicographically first (by filename) file

Description

After a derivate is created the maindoc is not the lexicographically (by filename) first file as it used to be. E.g. if one uploads 11 files the 5th is set as maindoc.

Environment

None

Assignee

Thomas Scheffler

Reporter

Silvio Hermann

Labels

None

URL

None

External issue ID

None

Components

Fix versions

Affects versions

Priority

Medium
Configure