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