title: separating float & String in Object in Java
body: <p>I have a two dimentional Object that in Rows are String Names &amp; in Columns are float Numbers</p>
  
  <p>I want to sort float Numbers but when I send it to bubbleSort Function it gives me an error that can not use &lt; or >  .</p>
  
  <p>How can I Sort Numbers beside their Names ?</p>
  
  <p>for Object in Java what should I import ?</p>
  
  <pre><code>public static void bubbleSort(Object student[][] , int length)
  { 
      int w,x; 
      float place; 
      for(w=length-1; w&gt;0 ;w--)
      { 
          for(x=0; x&lt;w ; x++)
          { 
              if(student[x][1]&lt;student[x+1][1])
              {     
                  place=student[x][1]; 
                  student[x][1]=student[x+1][1]; 
                  student[x+1][1]=place; 
              } 
          } 
      } 
  }//bubbleSort
  </code></pre>
  
  <p>thanks</p>