diff --git a/plugins/reporters/web-app-template/src/components/PackageFindingsTable.js b/plugins/reporters/web-app-template/src/components/PackageFindingsTable.js index 2200cb766f2bf..6d22fce2f16ef 100644 --- a/plugins/reporters/web-app-template/src/components/PackageFindingsTable.js +++ b/plugins/reporters/web-app-template/src/components/PackageFindingsTable.js @@ -204,7 +204,7 @@ const PackageFindingsTable = (props) => { dataIndex: 'path', defaultSortOrder: 'ascend', key: 'path', - sorter: (a, b) => a.path.length - b.path.length, + sorter: (a, b) => a.path.localeCompare(b.path), textWrap: 'word-break', title: 'Path' },