import _ from "lodash"; const sortMultiple = (list: DtoArray[]) => _.orderBy(list, ['col1', 'col2.child1', 'col3', 'col4'], ['asc', 'asc', 'asc', 'asc'] );