Sorry, the problem was in my code, and not in SS. So I have edited this post later (I cannot delete it).
Anyway, DataObject::get(...) has the $sort argument, but DataObject::get_one(...) has the $orderby argument. Both arguments have the same functionality, but different names, which is a little bit confusing.