Night came first. Before there was a sun, there was no day, therefore it was night. But before that, the egg came.