I've found from looking through the forums that the following code allows you to setup a custom comparator to a field within a data store.
test_store.comparatorMap['fieldName'] = sorterFunction;
function sorterFunction( fieldNameData1, fieldNameData2 )
{
console.info( fieldNameData1, fieldNameData2 );
};
