title: Sort by order in Query
body: <p>I am using Room as ORM. I want to get array of some objects from it with a specific order. My code looks like this: </p>
  
  <pre><code>@Query("SELECT * FROM `group` WHERE id IN (:ids) ORDER BY id in (:ids)")
  </code></pre>
  
  <p>But "order by" not works. I don't want just to sort it by field "id". I want to sort it by id that correlate with array "ids". I mean: </p>
  
  <p>I have array of Integer <code>ids = arrayOf(16,12,18,3)</code> and i use it in query above. And on the output i want to have array of some object(say group). The output array will looks like this </p>
  
  <pre><code>    ListOf(Group(id:16, name: "someName"),
             Group(id: 12, name: "someAnotherName",
             Group(id: 18, name: "name"), 
             Group(id: 3, name: "another"))
  </code></pre>