title: Sort array after deleting value
body: <p>how can I sort an Array after deleting one value?</p>
  
  <p>e.g. <code>{1,2,3,4,5}</code> --> <code>{1,2,null,4,5}</code> --> <code>{1,2,4,5,null}</code>.</p>
  
  <pre><code>public boolean removeNumber(int accountNumber) {
      for(int i = 0; i &lt; Account.length; i++) {
          if(Account[i].getAccountNumber() == (accountNumber)) {
              Account[i] = null;
          }
  </code></pre>