Added sorting by duration in sports query.