title: How to make `getfacl` run with certain order?
body: <p>I use <code>getfacl -RP ../www &gt; permission_backup</code> to store the permission and <code>Beyond Compare</code> to compare two <code>permission_backup</code>,if permission has any change,I will run <code>setfacl --restore</code>.  </p>
  
  <p>I found a problem,I run <code>getfacl -RP ../www &gt; permission_backup</code> to the same folder twice,items in <code>permission_backup</code> may have different order,then <code>Beyond Compare</code> will tell me there's big different.   </p>
  
  <p>For example:
  One <code>permission_backup</code> is as below:  </p>
  
  <pre><code># file: ../www/info/2013-09-05/16.html
  # owner: apache
  # group: apache
  user::rw-
  group::r--
  other::r--
  
  # file: ../www/info/2013-09-05/1.html
  # owner: apache
  # group: apache
  user::rw-
  group::r--
  other::r--
  
  # file: ../www/info/2013-09-05/23.html
  # owner: apache
  # group: apache
  user::rw-
  group::r--
  other::r--
  </code></pre>
  
  <p>Another one is:  </p>
  
  <pre><code># file: ../www/info/2013-09-05/23.html
  # owner: apache
  # group: apache
  user::rw-
  group::r--
  other::r--
  
  # file: ../www/info/2013-09-05/16.html
  # owner: apache
  # group: apache
  user::rw-
  group::r--
  other::r--
  
  # file: ../www/info/2013-09-05/1.html
  # owner: apache
  # group: apache
  user::rw-
  group::r--
  other::r--
  </code></pre>
  
  <p>How to   make <code>getfacl</code> run with certain order?   </p>