Added ascending and descending; examples; fixed indentation warning