$Oldest = $Results | Where-Object { $_.Type -eq 'Main' } | Sort-Object LastUsed | Select-Object -First 10
Above my command tries to find the 10 oldest dates and then I act on them. My issue is that sometimes the date is blank or $null
How can I push the blank or $null to the top of the list and find them with the oldest?