How to set a default sort by for a drive?

Mainly the title, whenever i close and open opus again it gets reset everytime. For eg, I want to sort my D drive by modified time, but as soon as i close and open it again it gets sorted by name. Is there a way to fix this?