@@ -0,0 +1,1472 @@
+import java.util.ArrayList;import java.util.Collections;import java.util.Iterator;import java.util.List;/** * Created by Jacob_Zhou on 6/9/2017. */public class main %7B    public static void main(String args%5B%5D) %7B        List%3CDataset%3E lstData = new ArrayList%3CDataset%3E();        Dataset ds = null;        ds = new Dataset(%221%22, %22%22, %22%22, %22SH1%22, %2220000%22);        lstData.add(ds);        ds = new Dataset(%222%22, %22%22, %22%22, %22SH1%22, %2210001%22);        lstData.add(ds);        ds = new Dataset(%223%22, %22%22, %22%22, %22RC2%22, %2214001%22);        lstData.add(ds);        ds = new Dataset(%224%22, %22%22, %22%22, %22SW1%22, %2210001%22);        lstData.add(ds);        ds = new Dataset(%225%22, %22%22, %22%22, %22RC2%22, %2210002%22);        lstData.add(ds);        ds = new Dataset(%226%22, %22%22, %22%22, %22SH1%22, %2213001%22);        lstData.add(ds);        ds = new Dataset(%227%22, %22%22, %22%22, %22SW1%22, %2220001%22);        lstData.add(ds);        ds = new Dataset(%228%22, %22%22, %22%22, %22RC2%22, %2210001%22);        lstData.add(ds);        List lstAction = new ArrayList();        List lstSequence = new ArrayList();        Action ac = new Action(1, %22X%22);        lstAction.add(ac);        ac = new Action(2, %22X%22);        lstAction.add(ac);        ac = new Action(3, %22X%22);        lstAction.add(ac);        ac = new Action(4, %22U%22);        lstAction.add(ac);        Collections.sort(lstAction);        for(int i = 0; i %3C lstAction.size(); i++)        %7B            Action acc = (Action) lstAction.get(i);            System.out.println(acc.getRowNo() + %22: %22 + acc.getValue());        %7D    %7D%7D%0A

Create test.java