Added sort by field that have multiple values per document.
clean up numeric field data