Added pagination and sorting by votes