Creates array with order of list