Disambiguate sort columns (for Oracle)

MySQL was OK with the way it was but Oracle found the columns ambiguous. Specs that were failing under Oracle pass for me with this (and pass with MySQL as well).