>SQL Server allow to order on any expression even the one that does not exists in the column list. A GUID is generated for each record at the time when sorting is performed.
And so does VFP. I used index on rand() who knows how many versions ago... 6.4 IIRC. The key() is just an expression.