Modified random_subset subsampling to preserve original order