 
 
 
 
 
   
An array is sorted if every element in the array is at least as big as the previous one.
what about ``first'' element?
For all  such that
 such that 
 we have
 we have 
 .
.
Declarative style of specification (what needs to be done) versus Procedural style of coding (how to do it).
For a mathemtician (and a Logic Programmer), the above definition is suffient to capture sorting.