Sorted units by code
This commit is contained in:
parent
6c369f6954
commit
31b021bae7
File diff suppressed because it is too large
Load Diff
|
@ -179,7 +179,7 @@ class CodeGenerator {
|
||||||
Row(listOf(code, values[1], i18nUnit?.symbol, row.isFrequentlyUsedValue), row.isFrequentlyUsedValue)
|
Row(listOf(code, values[1], i18nUnit?.symbol, row.isFrequentlyUsedValue), row.isFrequentlyUsedValue)
|
||||||
}
|
}
|
||||||
|
|
||||||
return columns to rows
|
return columns to rows.sortedBy { it.values[0].toString() } // sort by code
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun addFrequentlyUsedColumn(columnsToRows: Pair<List<Column>, List<Row>>): Pair<List<Column>, List<Row>> {
|
private fun addFrequentlyUsedColumn(columnsToRows: Pair<List<Column>, List<Row>>): Pair<List<Column>, List<Row>> {
|
||||||
|
|
Loading…
Reference in New Issue