title: Why should a Comparator implement Serializable?
body: <p>New to Java. Learning it while working on an Android app. I am implementing a Comparator to sort a list of files and the android docs <a href="http://developer.android.com/reference/java/util/Comparator.html" rel="noreferrer">say</a> that a Comparator should implement Serializable:</p>
  
  <blockquote>
    <p>It is recommended that a Comparator implements Serializable.</p>
  </blockquote>
  
  <p>This is the Serializable interface <a href="http://developer.android.com/reference/java/io/Serializable.html" rel="noreferrer">here</a>.</p>
  
  <p>I just want to sort a list of files. Why should I implement this or what even is the reason why it should be for any Comparator?</p>