Refs #10450. Consider the case of duplicated records.
Refs #10450.  Added an optional feature to remove records.

Optional feature to have remove records with duplicated value in sample
log that is to be ordered by.
Merge branch 'feature/10450_record_order_by_runnumber' into develop