sort: Update sort with regards to bufioutil.