GetDataCompareFunction

Gets a comparison function to compare two data objects