Fix sort direction property