Added support for ordering by key and ascending descending

@jdoconnor || @darbyfrey
parameter.  ascending