sorting algorithm now works. (very fast). plus selectionPlots.C has selection built in.