title: Realm results sort on multiple properties ios
body: <p>I have been trying to sort RLMResults by 2 properties, 1st is sort value and 2nd is name, but no luck.
  I am getting wrong results when I try to sort with 2 properties.</p>
  
  <p>What I want is I want to sort results using sort value and then alphabetically.</p>
  
  <pre><code>self.allTasks = [[[Task allObjects]
                   sortedResultsUsingProperty:@"priorityLevelSortValue" ascending:YES]
                   sortedResultsUsingProperty:@"taskName" ascending:YES];
  </code></pre>
  
  <p>Any help would be much appreciable.</p>
  
  <p>Thank you.</p>