extdata - Moving comparison function to the library