Given a list of items, the sort column, the sort order (0: ascending, 1: descending), the number of items to be displayed in each page, and a page number, write an algorithm to determine the list of item names in the specified page while respecting the item's order (Page number starts at 0)