// ---------------------------------------------------------------------------
// - Sort.hpp                                                                -
// - aleph:txt library - array sorting definition                            -
// ---------------------------------------------------------------------------
// - This program is free software;  you can redistribute it  and/or  modify -
// - it provided that this copyright notice is kept intact.                  -
// -                                                                         -
// - This program  is  distributed in  the hope  that it will be useful, but -
// - without  any  warranty;  without  even   the   implied    warranty   of -
// - merchantability or fitness for a particular purpose.  In no event shall -
// - the copyright holder be liable for any  direct, indirect, incidental or -
// - special damages arising in any way out of the use of this software.     -
// ---------------------------------------------------------------------------
// - copyright (c) 1999-2003 amaury darsch                                   -
// ---------------------------------------------------------------------------

#ifndef  ALEPH_SORT_HPP
#define  ALEPH_SORT_HPP

#ifndef  ALEPH_VECTOR_HPP
#include "Vector.hpp"
#endif
 
namespace aleph {
  /// sort an array in place
  /// @param robj the runnable object
  /// @param nset the current nameset
  /// @param args the arguments
  Object* atxt_qsort (Runnable* robj, Nameset* nset, Cons* args);
}

#endif
