But if you are using arrays with indices you usually expect the order of the indices in the array the same you wrote in the list() from left to right; which it isn't.
Like array(), this is not really a function, but a language construct. list() is used to assign a list of variables in one operation.