added sorting by votes or date