Is there a built in way to sort an array by array position? Example: Array1[E1, E2, E3, E4] -->Array2[E4, E3, E2, E1]. I was trying to use a FIFO to store error messages but I would then like to reorder that array so that the most recent messages were at the top of an array sorted to the oldest messages.