diff --git a/web/src/components/listsTable/ListsTable.tsx b/web/src/components/listsTable/ListsTable.tsx index 364d9007b..838936d19 100644 --- a/web/src/components/listsTable/ListsTable.tsx +++ b/web/src/components/listsTable/ListsTable.tsx @@ -113,7 +113,13 @@ export const ListsTable = (props: RouteComponentProps & Props) => { title="Description" key="Description" dataIndex={nameof("description")} - sorter={(a, b) => a.description.localeCompare(b.description)} + sorter={(a, b) => + a.description + ? b.description + ? a.description.localeCompare(b.description) + : -1 + : 1 + } width={ !tablePageSize.isNarrowWindow && !tablePageSize.isWideWindow ? 423