sort -r -t"~" -k 3 -k 2nr w |more

sort reverse, use ~ as sep, sort on the 3rd key, sort on the 2nd key numerically

Or to sort a tab delimited file

http://blog.robfelty.com/2008/07/14/sort-using-tab-as-field-separator-in-bash/

which use -t $'t' (single quotes required) which expands the backslashed characters in the string.