Sorted length to end of message