function sortByDescending(patients, field) {
  return patients.sort((a, b) => {
    return b[`${field}`] - a[`${field}`];
  });
}
/** sorts array of patients reverse alphabetically by specified field  */
sorts array of patients reverse alphabetically by specified field
sorts array of patients reverse alphabetically by specified field
function sortByDescending(patients, field) {
  return patients.sort((a, b) => {
    return b[`${field}`] - a[`${field}`];
  });
}
function sortByDescending ( patients , field ) { return patients . sort ( ( a , b ) => { return b [ ` ${ field } ` ] - a [ ` ${ field } ` ] ; } ) ; }
sorts array of patients reverse alphabetically by specified field
sorts array of patients reverse alphabetically by specified field