- fixed bug that sortDirection was not setted right