sort directories from most recent to least recent