﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
325	psVectorSortIndex algorithm	Paul Price	robert.desonia@…	"The algorithm adopted for psVectorSortIndex (sort the vector and then find out
where my data ends up) is by no means optimal.  The natural algorithm is:

1. Generate a vector of indices (0,1,2,3,4,5,...,N)
2. Make a comparison function that, given two indices, compares the
corresponding values of the input vector (e.g., given 2 and 5, it compares
myVector->data.F32[2] and myVector->data.F32[5]).
3. Sort the vector of indices (#1) using qsort(), employing the comparison
function (#2)
4. Return the sorted vector of indices."	defect	closed	high		types	unspecified	normal	fixed		
