This isn't working and I have tried sortBy and nothing seems to work, I'm sure i'm doing/missing something easy here. thanks for any help as i'm learning!
Oh, I think I misunderstood. Let me ask: Is there any time you don't want the listings returned in descending order? Probably not. I'd add ->latest() to the relationship definition.
public function listings() {
return $this->hasMany(Listing::class)->latest();
}
Not your question, but you're also loading them for the current user. You don't need to perform an additional query and re-retrieve the user since it's already loaded, and you actually don't need to pass anything in the view for that case.