added direction filters

ascending and descending