Sort APIImages by most recent creation date.

Fixes #985.
Sort images by tag name when the creation date is the same.

This establishes a strict alphabetical order for tags with the same creation date.
Merge pull request #1396 from calavera/985-ordered-api-images

Sort APIImages by most recent creation date.