user
Generate a set of instructions for a computer to sort an array of numbers.


assistant
Instructions for Sorting an Array of Numbers 

1. Initialize the array.
2. Iterate through the array and compare adjacent elements.
3. If the first element is greater than the second element, swap their positions in the array.
4. Repeat step 2 and 3 until all elements are sorted.
5. Output the sorted array.