sw test tool: Correct the comparison method to treat matches as the set
sw test tool: Correct the comparison method to treat matches as the set

OF 1.3.3 spec (3 Glossary) says:

    Flow Entry: an element in a flow table used to match and process packets. It contains a set of
    match fields for matching packets, a priority for matching precedence, a set of counters to track
    packets, and a set of instructions to apply (see 5.2).

According to OF spec, the match fields are treated as the set.
This means that the order of matches which flow_stats message returns is inconsistant.
This patch corrects the comparison method of matches by sorting in a particular order before comparison.

Signed-off-by: Yuichi Ito <7a83edf5b53f0b21d4182a3da7518164ce03dc3a@gmail.com>
Signed-off-by: FUJITA Tomonori <93dac1fe9c4b2a3957982200319981492ad4976e@lab.ntt.co.jp>

zyq001/ryu,muzixing/ryu,yamt/ryu,umkcdcrg01/ryu_openflow,darjus-amzn/ryu,osrg/ryu,evanscottgray/ryu,ysywh/ryu,pichuang/ryu,Tesi-Luca-Davide/ryu,alyosha1879/ryu,lagopus/ryu-lagopus-ext,zyq001/ryu,gareging/SDN_Framework,yamt/ryu,pichuang/ryu,diogommartins/ryu,TakeshiTseng/ryu,StephenKing/summerschool-2015-ryu,osrg/ryu,muzixing/ryu,jalilm/ryu,elahejalalpour/ELRyu,umkcdcrg01/ryu_openflow,alanquillin/ryu,Tesi-Luca-Davide/ryu,ttsubo/ryu,fkakuma/ryu,OpenState-SDN/ryu,shinpeimuraoka/ryu,castroflavio/ryu,darjus-amzn/ryu,OpenState-SDN/ryu,darjus-amzn/ryu,gareging/SDN_Framework,ttsubo/ryu,John-Lin/ryu,zangree/ryu,fkakuma/ryu,lsqtongxin/ryu,haniehrajabi/ryu,jkoelker/ryu,zyq001/ryu,Zouyiran/ryu,Tesi-Luca-Davide/ryu,lagopus/ryu-lagopus-ext,shinpeimuraoka/ryu,diogommartins/ryu,Tejas-Subramanya/RYU_MEC,ysywh/ryu,ntts-clo/ryu,osrg/ryu,StephenKing/summerschool-2015-ryu,ynkjm/ryu,iwaseyusuke/ryu,fkakuma/ryu,umkcdcrg01/ryu_openflow,gareging/SDN_Framework,diogommartins/ryu,jalilm/ryu,habibiefaried/ryu,pichuang/ryu,StephenKing/ryu,sivaramakrishnansr/ryu,elahejalalpour/ELRyu,Tejas-Subramanya/RYU_MEC,zangree/ryu,openvapour/ryu,ttsubo/ryu,yamt/ryu,ysywh/ryu,lzppp/mylearning,o3project/ryu-oe,Tejas-Subramanya/RYU_MEC,habibiefaried/ryu,openvapour/ryu,Tejas-Subramanya/RYU_MEC,openvapour/ryu,takahashiminoru/ryu,shinpeimuraoka/ryu,StephenKing/ryu,fkakuma/ryu,gareging/SDN_Framework,lzppp/mylearning,umkcdcrg01/ryu_openflow,darjus-amzn/ryu,lzppp/mylearning,haniehrajabi/ryu,sivaramakrishnansr/ryu,OpenState-SDN/ryu,TakeshiTseng/ryu,John-Lin/ryu,diogommartins/ryu,ntts-clo/mld-ryu,sivaramakrishnansr/ryu,lsqtongxin/ryu,ynkjm/ryu,habibiefaried/ryu,osrg/ryu,muzixing/ryu,jkoelker/ryu,o3project/ryu-oe,lsqtongxin/ryu,StephenKing/summerschool-2015-ryu,castroflavio/ryu,jalilm/ryu,habibiefaried/ryu,hisaharu/ryu,fujita/ryu,alanquillin/ryu,gopchandani/ryu,ntts-clo/mld-ryu,castroflavio/ryu,jalilm/ryu,hisaharu/ryu,Tesi-Luca-Davide/ryu,alanquillin/ryu,jazzmes/ryu,jkoelker/ryu,ynkjm/ryu,alyosha1879/ryu,Tesi-Luca-Davide/ryu,yamt/ryu,John-Lin/ryu,elahejalalpour/ELRyu,gopchandani/ryu,fujita/ryu,ysywh/ryu,haniehrajabi/ryu,yamt/ryu,zangree/ryu,TakeshiTseng/ryu,sivaramakrishnansr/ryu,umkcdcrg01/ryu_openflow,hisaharu/ryu,zyq001/ryu,lsqtongxin/ryu,fkakuma/ryu,gopchandani/ryu,ynkjm/ryu,torufuru/oolhackathon,takahashiminoru/ryu,pichuang/ryu,diogommartins/ryu,iwaseyusuke/ryu,openvapour/ryu,iwaseyusuke/ryu,takahashiminoru/ryu,torufuru/oolhackathon,zangree/ryu,elahejalalpour/ELRyu,jazzmes/ryu,yamada-h/ryu,TakeshiTseng/ryu,torufuru/oolhackathon,pichuang/ryu,darjus-amzn/ryu,StephenKing/ryu,osrg/ryu,lagopus/ryu-lagopus-ext,ntts-clo/ryu,ttsubo/ryu,takahashiminoru/ryu,elahejalalpour/ELRyu,John-Lin/ryu,zangree/ryu,shinpeimuraoka/ryu,gopchandani/ryu,takahashiminoru/ryu,John-Lin/ryu,OpenState-SDN/ryu,yamada-h/ryu,zyq001/ryu,fujita/ryu,fujita/ryu,StephenKing/summerschool-2015-ryu,ynkjm/ryu,haniehrajabi/ryu,gareging/SDN_Framework,alyosha1879/ryu,hisaharu/ryu,iwaseyusuke/ryu,Zouyiran/ryu,StephenKing/summerschool-2015-ryu,alyosha1879/ryu,OpenState-SDN/ryu,lagopus/ryu-lagopus-ext,lsqtongxin/ryu,StephenKing/ryu,muzixing/ryu,gopchandani/ryu,TakeshiTseng/ryu,Zouyiran/ryu,alanquillin/ryu,haniehrajabi/ryu,alanquillin/ryu,ysywh/ryu,muzixing/ryu,lzppp/mylearning,iwaseyusuke/ryu,evanscottgray/ryu,shinpeimuraoka/ryu,jalilm/ryu,jazzmes/ryu,fujita/ryu,evanscottgray/ryu,openvapour/ryu,sivaramakrishnansr/ryu,lzppp/mylearning,StephenKing/ryu,habibiefaried/ryu,Tejas-Subramanya/RYU_MEC,lagopus/ryu-lagopus-ext,Zouyiran/ryu,ttsubo/ryu,hisaharu/ryu,Zouyiran/ryu