Arrange the following steps of construction of perpendicular lines in the correct order.
1. Draw a line using a ruler and mark a point.
2. Through the marked point draw a line along the edge.
3. Placing the ruler tightly and slide the set square along the ruler till the edge of the set square touches the marked point.
4. Place the ruler on the line and place one edge of a set square along the line.
5. Measure and check whether the obtained angle is 90∘.