There is no stateSortKey.  Use state.