Do we need to define the
swap(a, b)
function if we call it within a Sort???
Code:
// suppose this function is called by swap(arr(i), arr(i-1))
// would this be enough, or do I need to do something else??
BEGIN swap(a, b):
INITIALISE c as integer
LET c = a
LET a = b
LET b = c
END swap