sort -package +bytestring

sort :: ByteString -> ByteString
bytestring Data.ByteString, bytestring Data.ByteString.Char8
O(n) Sort a ByteString efficiently, using counting sort.