Use the SORT function:
SORT(data, keyColumn_1, ascOrDesc_1, keyColumn_2, ascOrDesc_2, ..., keyColumn_30, ascOrDesc_30)
Returns the rows in the given data range (or array), sorted according to the given key columns.
There are two ways to specify the key column: either as a column within the data range, or as another column outside the range. To specify a column within the data range, give its index within the range: 1 is the first column of the range, 2 is the second column, etc. To specify another column outside the range (e.g. an intermediate calculated value that you don't want to include in your output), just specify it as a range.
Each key column must also be marked to sort either ascending or descending, by adding either TRUE or FALSE after that specifying that key column. You can also specify only a single array or range. In that case, the function returns that range sorted ascending by the columns from left to right.
In your case, it'd be something like =SORT(A2:E13,1,True).