static public void numberSort(@Nonnull String[] values) throws NumberFormatException {
  for (int i=0; i <= values.length - 2; i++) {
    for (int j=values.length - 2; j >= i; j--) {
      if (Integer.parseInt(values[j]) > Integer.parseInt(values[j + 1])) {
        String temp=values[j];
        values[j]=values[j + 1];
        values[j + 1]=temp;
      }
    }
  }
}

static public void numberSort ( @ Nonnull String [ ] values ) throws NumberFormatException { for ( int i = 0 ; i <= values . length - 2 ; i ++ ) { for ( int j = values . length - 2 ; j >= i ; j -- ) { if ( Integer . parseInt ( values [ j ] ) > Integer . parseInt ( values [ j + 1 ] ) ) { String temp = values [ j ] ; values [ j ] = values [ j + 1 ] ; values [ j + 1 ] = temp ; } } } }
sort string [ ] representing numbers , in ascending order .
