Fixed syntax error, re-enabled table sort.