Index: trunk/psLib/src/collections/psVector.h
===================================================================
--- trunk/psLib/src/collections/psVector.h	(revision 1228)
+++ trunk/psLib/src/collections/psVector.h	(revision 1233)
@@ -11,6 +11,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-07-15 22:18:02 $
+ *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-07-15 23:52:33 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -99,4 +99,31 @@
 );
 
+/** Sort an array of floats.
+ *
+ *  Sorts an array of floats in ascending order.  This function is valid for
+ *  all non-complex data types.
+ *
+ *  @return  psFloatArray*: Pointer to sorted psFloatArray.
+ */
+
+psVector *psVectorSort(
+    psVector *restrict outVector,  ///< the output vector to recycle, or NULL if new vector desired.
+    const psVector *restrict inVector ///< the vector to sort.
+);
+
+/** Creates an array of indices based on sort odred of float array.
+ *
+ *  Sorts an array of floats and creates an integer array holding indices of 
+ *  sorted float values based on pre-sort index positions.  
+ *
+ *  @return  psIntArray*: Pointer to psIntArray of sorted indices.
+ */
+
+psVector *psVectorSortIndex(
+    psVector *restrict outVector,
+    const psVector *restrict inVector
+);
+
+
 /// @}
 
