Added comments for setSort function.
Fixed #14. Use pushSort variable to be sure that the new sort must be pushed.