Don't show 'Sort By' if there are fewer than 2 unarchived courses #2218

For #2218
I think you have put the hidden on the wrong div.
Also merge the latest Teammates master and please run the test suite before submitting :-)