#96609Sorting of backend layout rows is not respected in page module (language mode)
Description
Having a backend layout like this:
Page {
title = Page
config {
backend_layout {
colCount = 1
rowCount = 2
rows {
1 {
columns {
1 {
name = Bar
colPos = 1
}
}
}
2 {
columns {
1 {
name = Foo
colPos = 0
}
}
}
}
}
}
}
Will in columns mode be displayed like:
—- Bar —-
—- Foo —-
But will be displayed in languages mode (also for defLangBinding) like:
—- Foo —-
—- Bar —-
The reason seems to be following line:
which is used to create the columns but does not consider the order in the backend layout configuration.