Fix for imagesBySection method. Was sorting on values instead of keys.

Crashing on the "Food" article, for example.

Change-Id: I922fe7a74c1458a36d5391f9b1cdc26ae0aefef0