lpt.buildPlan("a = load 'bla' as (i:int, n:chararray, d:double);");
lpt.buildPlan("b = order a by i, d;");
LogicalPlan lp = lpt.buildPlan("store b into 'foo';");
PigServer.SortInfoSetter siSetter = new PigServer.SortInfoSetter(lp);
siSetter.visit();
PhysicalPlan pp = buildPhysicalPlan(lp);
SortInfo si = ((POStore)(pp.getLeaves().get(0))).getSortInfo();
SortInfo expected = getSortInfo(
Arrays.asList(new String[] {"i", "d"}),
Arrays.asList(new Integer[] {0, 2}),
Arrays.asList(new SortColInfo.Order[] {
SortColInfo.Order.ASCENDING,