There is a simple trick to specify a tab as a separator. You simply have to write it as:

$'\t'

For example:

cat in.txt | sort -t $'\t' -k 2

It should work in all commands where you can specify separator.