order popup images selection by position