initial impl of order
implemented decreasing argument in order