Collection page1 = m_context.loadPhonesByPage(null, 0, 4, "modelId", true);
Collection page1 = m_context.loadPhonesByPage(null, 0, 4, new String[] { "modelId" }, true);
    public void testGetPhonesByPageSortedByModel() throws Exception {        TestHelper.cleanInsert("ClearDb.xml");        TestHelper.cleanInsertFlat("phone/SamplePhoneSeed.xml");        Collection page1 = m_context.loadPhonesByPage(null, 0, 4, "modelId", true);        Phone[] phones = (Phone[]) page1.toArray(new Phone[page1.size()]);        assertEquals("00001", phones[0].getSerialNumber());        assertEquals("00003", phones[1].getSerialNumber());        assertEquals("aa00004", phones[2].getSerialNumber());        assertEquals("00002", phones[3].getSerialNumber());    }