fixed asc/desc rows reversals