It will detect the returned values i.e whether number or string and do sorting accordingly . import sortBy from 'lodash/sortBy'; sortBy(obj,'name').
確定! 回上一頁