Patent ID: 7558779

Claim:
A system comprising: a cached rowset populated with rows of data from a database, the rowset being stored in memory outside the database, the rowset having a first order; and a first shared rowset including a first sorter, the first shared rowset accessing data from the cached rowset, the first sorter sorting the rows of data from the cached rowset into a first sorted order such that operations accessing the first shared rowset use the first sorted order; and a second shared rowset including a second sorter, the second shared rowset including a second sorter, the second shared rowset accessing data from the cached rowset, the second sorter sorting the row of data from the cached rowset into a second sorted order such the operations accessing the second shared rowset use the second sorted order; wherein the sorting includes creating a table of sorted pointers to rows in the cached rowset; and wherein the system includes at least one processor and at least one memory.