On my inventory page I've been referencing records like this:
"SELECT * FROM inventory WHERE Sold = '0' AND Type = 'Viper' ORDER BY Year DESC, Miles ASC"
Now in theory this should order each record of Vipers by year high-low first, and then by mileage low-high.. correct? Well this isn't working. For instance I currently have two 2003 Dodge Viper cars, one has 20 miles and the other has 125. They are extactly the same except for miles. The years are grouped together correctly, however, the one with 125 miles is displayed first over the car with 20 miles. Any ideas?