title: What does priority mean in Firebase?
body: <p>I have read the Firebase docs about priorities but I don't think I understand it yet.</p>
  
  <p>I think I understand that it is related to querying and sorting data. To give my question (and the answers) some weight, in what instances might you use priorities?</p>
  
  <p>From the docs I read that you can set priorities when you set a value at some reference, and then when you query that reference priority determines the ordering based on its type and value. And that makes some sense but I'm not quite understanding it. </p>