I am trying to load all items from a Sqlite Table in Android and want to order the result.
How do I specify the order for the returned cursor?
I query the ContentProvider through a CursorLoader the following way:
new CursorLoader(context, RepresentativeEntityContentProvider.CONTENT_URI, null, null,
null, null);
"column_name1 ASC, column_name2 DESC, column_nameN ASC"
where DESC means descending. – Promethean