Based on your comment:
They appear in the same order. I've initialised both attributes with the array [5, 4, 3, 2, 1]. Notice I've specified the array, for both attributes, in a decrescent order. Once documentation says List type is "an ordered collection of items", I was expecting attrList attribute array to be printed in ascendent order.
I assume you are expecting that you added items in descending order and that with "ordered" you are expecting those to be printed in ascending order. That's not what is meant by an ordered collection. The behavior you observe is the expected behavior. You are getting confused with ordered vs. sorted here. You will get that output as you expect only when you sort your list/array which by default is not sorted but only ordered.
An ordered collection means that the collection maintains the "order" of the items being added into that collection and that if you access a collection (list or array) with an index, you are guaranteed to get the same value every time on that index (unless you change the value).
You can find more details on these links:
And for your question:
So my question is: what exactly is the difference between these two types?
You will find the exact difference between a List and Array when you refer to the documentation links provided above.