Indexes are currently ignored if you use a 'descending' keyword on your 'by' statement. Add support so that this isn't the case.
Without this, there is no supported way to easily retrieve the maximum value of an indexed column. This is awful when working with large tables or systems that need to be very responsive.
This also means procedures that support the 'by' statement can't make use of the 'descending' keyword either.