import argsort function into theano.tensor
update docstring to reflect that argsort is imported (and sort is shadowed)
add sort method
whitespace cleanup
merge identical inputs as well (seqs and non-seqs)
reuse functionality for outputs
new optimization
fix to optimization to deal with identical nit sot of different lengths
new optimization
re-order optimizations
fix function (look at type for dtype)
fix a few tests
two new tests

Conflicts:
	theano/scan_module/tests/test_scan.py
removed wip code
no need for the if/else
more info
catch the right exception
check if shape feature is available + comments
more details when the optimization applies
no need for using the shape feature here