function defaultSort (a, b) {
  if (isStarred(a) && !isStarred(b)) {
    return -1
  }

  if (!isStarred(a) && isStarred(b)) {
    return 1
  }

  return sortDate(a, b, 'updatedAt', 'desc')
}
// (aka, most recently updated wins and will be at the top)
(aka, most recently updated wins and will be at the top)
( aka most recently updated wins and will be at the top )
function defaultSort (a, b) {
  if (isStarred(a) && !isStarred(b)) {
    return -1
  }
  if (!isStarred(a) && isStarred(b)) {
    return 1
  }
  return sortDate(a, b, 'updatedAt', 'desc')
}
function defaultSort ( a , b ) { if ( isStarred ( a ) && ! isStarred ( b ) ) { return - 1 } if ( ! isStarred ( a ) && isStarred ( b ) ) { return 1 } return sortDate ( a , b , 'updatedAt' , 'desc' ) }
(aka, most recently updated wins and will be at the top)
( aka most recently updated wins and will be at the top )