Drupal - Sort entityQuery by date published
$query = \Drupal::entityQuery('node')
->condition('status', 1)
->sort('created' , 'DESC');
'created' was the field. I was able to find this by looking at the fields being used in Core\Modules\node\src\Entity\Node.php