title: c++ rearranging an integer
body: <p>I'm currently a C++ student and I'm on the basics part of C++, so please excuse me if this seems simple for you guys but I find it the hardest problem I ever had:
  It is given a number n with exactly 8 digits. Find the biggest palindrome number obtained by the rearrangement of all digits of n.
  Example: 21523531 => 53211235</p>
  
  <p>I know vectors and how to check if a number is palindrome, I also know how to remove each digit from a number until it gives me a palindrome number, but I have no ideea how I can rearrange ALL digits.</p>