function sortObjectKeys (object, direction) {
  const sign = (direction === 'desc') ? -1 : 1
  const sortedFields = Object.keys(object).sort((a, b) => sign * naturalSort(a, b))

  const sortedObject = {}
  sortedFields.forEach(field => {
    sortedObject[field] = object[field]
  })

  return sortedObject
}
Sort object keys using natural sort
@param {Object} object
@param {'asc' | 'desc'} [direction]