public void sort ( double [ ] values , double [ ] valuesToFollow ) { this . valuesToSortDouble = values ; this . valuesToFollowDouble = valuesToFollow ; number = values . length ; monitor . beginTask ( "Sorting..." , - 1 ) ; monitor . worked ( 1 ) ; quicksort ( 0 , number - 1 ) ; monitor . done ( ) ; }
Sorts an array of double values and moves with the sort a second array .