The statutory priority can be assessed from the filing details.
Section 440 of the Austrian General Civil Code links the collision of two purchasers to the earlier application for registration. Have both contracts, the registration documents, the land register extract and the filing details reviewed together.
This addresses the narrow priority question. Any further claims against the seller or between the parties depend on the specific contracts and circumstances.