basic pagination support (not on sorted_set though)