Skip to content

Commit

Permalink
fix broken file sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
j-buczak committed May 12, 2022
1 parent 72e085f commit c64450c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/document/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func sortValueRows(valueRows []valueRow) {
if valueRows[i].LineNumber == valueRows[j].LineNumber {
return valueRows[i].Column < valueRows[j].Column
}
return valueRows[i].LineNumber < valueRows[i].LineNumber
return valueRows[i].LineNumber < valueRows[j].LineNumber
case AlphaNumSortOrder:
return valueRows[i].Key < valueRows[j].Key
default:
Expand Down

0 comments on commit c64450c

Please sign in to comment.