The isCustom field is a boolean but was declared as fieldType 'string' in the table metadata. When sorting by the App column, useSortedArray called localeCompare on a boolean value, causing a TypeError crash. Changed the fieldType to 'number' (JS boolean arithmetic works correctly for sorting) and added defensive String() conversion in useSortedArray to prevent similar type mismatch crashes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>