codeintel: Add orderedKeys to indexer
Created by: efritz
This helps readability at the call-site so we don't have to keep track of the relation between images
and keys
. It is not expected for images to have more than three elements, so this isn't a performance concern.