Added $orderBy, and an example