change the sort fallback depending on whether it searches for dev releases. Fix #308