Yes, RDF is mathematically defined as a set of triples, so the order in which these triples appear depending on which RDF serialization you use is completely irrelevant.
It is said that there are some serializations in which ordering will affect the created triples, for example, a fragment of a turtle using the collection syntax:
<http://example.org/subject> <http://example.org/hasItems> ( "one" "two" "three" ) .
Produces a variety of triples from:
<http://example.org/subject> <http://example.org/hasItems> ( "two" "one" "three" ) .
source share