Sorted multi dim array