add an array comparison function
proper checking to ensure that the unordered list is actually out of order.  fix for #67