@mikekara it appears that you’ve linked to your gist twice, and said gist doesn’t contain the map function… @hideki was wondering why you add name variable to keys collection twice.
(note: your account was flagged and message hidden because as a new user you reposted a link to the same doamin, actually the same link, twice… it appears that you made several quick attempts to do so as well)
Your map function looks fine. As you set only one key (name) by Query.setKeys(), so setDescending() does not have any effects for your results. Hope this helps you understand.