### ascending-help me

Posted:

**Fri Jul 01, 2011 12:15 pm**Write a function ORDERED which returns true if the numbers in a list

are in ascending or descending order.

For example:

(ordered '(3 5 7 10))

returns: T

(ordered '(8 6 5 3))

returns:T

but:

(ordered '(5 4 6 7))

returns: nil

are in ascending or descending order.

For example:

(ordered '(3 5 7 10))

returns: T

(ordered '(8 6 5 3))

returns:T

but:

(ordered '(5 4 6 7))

returns: nil