The conversation between human and AI assistant.
[|Human|] Write a query to sort 2D array in ascending order of the first elements.
[|AI|] Here is an example query to sort a 2D array in ascending order based on the first elements:

```
SELECT * FROM table_name
ORDER BY column1 ASC;
```
[|Human|] 
Write a query to sort 2D array in ascending order of the first elements.