@@ -23,7 +23,7 @@ public class ViewController extends Controller {
*/
public void executeSql() {
try {
- List<Record> d = Db.use("connected").find("select * from reportinfo where rownum <= 10");
+ List<Record> d = Db.use("connected").find("select * from reportinfo order by REPORTDATE where rownum <= 10");
this.renderJson(d);
} catch (Exception e) {
// TODO: handle exception