Added orderBy tests