docs: public static void bucketSort( int[] arr, int m )
      {
          int[] count = new int[m];
          int j, i = 0;
          //System.out.println(count[0]==0?"true":"false");
          for ( j = 0; j < arr.length; j++ ) {
              count[ arr[j] ]++;
          }
          
          //loop and filter the elements
          for ( j = 0; j < m; j++ ) {
              if ( count[j] > 0 ) {
                  while ( count[j]-- > 0 ) {
                      arr[i++] = j;
                  }
              }
          }
      }