antd Table排序问题
{
dataIndex: 'datasourceType',
title: formatMessage({ id: 'datasource.type', defaultMessage: '数据源类型' }),
sorter: (a, b) => a.datasourceType > b.datasourceType ? 1 : -1
},
{
dataIndex: 'datasourceType',
title: formatMessage({ id: 'datasource.type', defaultMessage: '数据源类型' }),
sorter: (a, b) => a.datasourceType > b.datasourceType ? 1 : -1
},