This function mainly splits array into two and then calls bucketSort ( ) for two arrays .
static void sortMixed ( double arr [ ] , int n ) { Vector < Double > Neg = new Vector < > ( ) ; Vector < Double > Pos = new Vector < > ( ) ;