diff --git a/frontend/src/Utilities/Array/getIndexOfFirstCharacter.js b/frontend/src/Utilities/Array/getIndexOfFirstCharacter.js index 165bb5cc1..d27cfd604 100644 --- a/frontend/src/Utilities/Array/getIndexOfFirstCharacter.js +++ b/frontend/src/Utilities/Array/getIndexOfFirstCharacter.js @@ -2,7 +2,7 @@ import _ from 'lodash'; export default function getIndexOfFirstCharacter(items, character) { return _.findIndex(items, (item) => { - const firstCharacter = item.sortTitle.charAt(0); + const firstCharacter = item.sortName.charAt(0); if (character === '#') { return !isNaN(firstCharacter);