connects connection priority with result ordering