#219 Allow custom value extractor function when sorting