fixed sort
temporary fixes, make sort by click