They are both valid sentences, the only difference is emphasis on the object.
To emphasis a particular object you put it first.
Usually if I'm talking about my new tank top I refer to my tank top first (ie. tank top under shirt),
other wise if its the shirt that's the more important object, then I'll refer to the t-shirt first (ie. shirt over tank top)