Fixes sorting by moteid
Fixes sort by saksnr
Adds missing semicolon
Hides sted if sted eq null