9

I think I just figured out the sorting method for Apple's Spotlight search feature:

if(keyword.length % 2 == 0) {
Query.orderBy(AppName, ASC);
}
else {
Query.orderBy(AppName, DESC);
}

Comments
Add Comment