Track numbers aren’t included as a sort field unless specifically added.
I can’t speak to your experience, but I’ve never seen album tracks out of order unless I manually change the primary sort (such as by song title). When I have the library sorted by Artist/Album or by Genre (my two most common sorts), I always see the tracks in proper order.