Selection Sort - Ascending Order

TOP - subscript of the top element in the array
LAST - subscript of the last valid element in the array
PTR - work subscript used for finding the smallest element in the array
SSF - subscript of the smallest element in the array