A few options exist:
<a id="ServerSort" href="javascript:">
<a id="ServerSort" href="javascript://">
<a id="ServerSort" href="javascript:void(0)">
These are considered bad practice and I would never recommend something like this for production. I typically use the first option when linking to pages that don't exist during the development phase. 
Preferably, I would not use a  at all, I switch to a span in example below:
<span id="ServerSort" onclick="return false">Test Link</span>
and just style an element accordingly:
    <style type="text/css">
    #ServerSort {
        text-decoration:underline;
    }
        #ServerSort:hover {
            color:red;
            cursor:pointer;
        }
</style>
I am in-lining the js and just hand writing a  here to show a different approach which avoid the need to override the default  behavior.