Use lodash for random sampling