- Fixed getSharedImages() to include orderBy constraint