diff --git a/src/libs/SearchUIUtils.ts b/src/libs/SearchUIUtils.ts index d9f63a0c1094..e100fb885fff 100644 --- a/src/libs/SearchUIUtils.ts +++ b/src/libs/SearchUIUtils.ts @@ -461,7 +461,7 @@ function getSortedTransactionData(data: TransactionListItemType[], sortBy?: Sear // We are guaranteed that both a and b will be string or number at the same time if (typeof aValue === 'string' && typeof bValue === 'string') { - return sortOrder === CONST.SEARCH.SORT_ORDER.ASC ? aValue.toLowerCase().localeCompare(bValue) : bValue.toLowerCase().localeCompare(aValue); + return sortOrder === CONST.SEARCH.SORT_ORDER.ASC ? aValue.localeCompare(bValue) : bValue.localeCompare(aValue); } const aNum = aValue as number;