HeapSnapshot: sometimes profiler fails to show next chunk of data.
HeapSnapshot: sometimes profiler fails to show next chunk of data.

It happens when sort does sort for the range which 
has a number of nodes that are equal in term of
current comparator. In that case the sort algorythm hits into 
v8 max stack size limit 10k frames. We can avoid this if we compare index values 
of the nodes as the last resort.

BUG=none

Review URL: https://chromiumcodereview.appspot.com/23591037

git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@157668 bbb929c8-8fbe-4397-9dbb-9b2b20218538

jtg-gg/blink,crosswalk-project/blink-crosswalk-efl,crosswalk-project/blink-crosswalk-efl,jtg-gg/blink,jtg-gg/blink,PeterWangIntel/blink-crosswalk,kurli/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,PeterWangIntel/blink-crosswalk,modulexcite/blink,XiaosongWei/blink-crosswalk,Bysmyyr/blink-crosswalk,ondra-novak/blink,PeterWangIntel/blink-crosswalk,nwjs/blink,hgl888/blink-crosswalk-efl,ondra-novak/blink,jtg-gg/blink,jtg-gg/blink,XiaosongWei/blink-crosswalk,ondra-novak/blink,Pluto-tv/blink-crosswalk,ondra-novak/blink,kurli/blink-crosswalk,PeterWangIntel/blink-crosswalk,XiaosongWei/blink-crosswalk,hgl888/blink-crosswalk-efl,jtg-gg/blink,Pluto-tv/blink-crosswalk,jtg-gg/blink,PeterWangIntel/blink-crosswalk,Bysmyyr/blink-crosswalk,nwjs/blink,smishenk/blink-crosswalk,ondra-novak/blink,modulexcite/blink,smishenk/blink-crosswalk,kurli/blink-crosswalk,nwjs/blink,crosswalk-project/blink-crosswalk-efl,jtg-gg/blink,modulexcite/blink,XiaosongWei/blink-crosswalk,XiaosongWei/blink-crosswalk,Pluto-tv/blink-crosswalk,PeterWangIntel/blink-crosswalk,smishenk/blink-crosswalk,XiaosongWei/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,kurli/blink-crosswalk,kurli/blink-crosswalk,Pluto-tv/blink-crosswalk,Pluto-tv/blink-crosswalk,Pluto-tv/blink-crosswalk,modulexcite/blink,kurli/blink-crosswalk,nwjs/blink,ondra-novak/blink,hgl888/blink-crosswalk-efl,kurli/blink-crosswalk,hgl888/blink-crosswalk-efl,nwjs/blink,XiaosongWei/blink-crosswalk,smishenk/blink-crosswalk,modulexcite/blink,modulexcite/blink,modulexcite/blink,nwjs/blink,ondra-novak/blink,Bysmyyr/blink-crosswalk,nwjs/blink,hgl888/blink-crosswalk-efl,crosswalk-project/blink-crosswalk-efl,XiaosongWei/blink-crosswalk,Pluto-tv/blink-crosswalk,Pluto-tv/blink-crosswalk,smishenk/blink-crosswalk,nwjs/blink,PeterWangIntel/blink-crosswalk,hgl888/blink-crosswalk-efl,hgl888/blink-crosswalk-efl,Bysmyyr/blink-crosswalk,nwjs/blink,Pluto-tv/blink-crosswalk,kurli/blink-crosswalk,smishenk/blink-crosswalk,hgl888/blink-crosswalk-efl,PeterWangIntel/blink-crosswalk,modulexcite/blink,ondra-novak/blink,hgl888/blink-crosswalk-efl,Bysmyyr/blink-crosswalk,jtg-gg/blink,PeterWangIntel/blink-crosswalk,hgl888/blink-crosswalk-efl,smishenk/blink-crosswalk,kurli/blink-crosswalk,smishenk/blink-crosswalk,XiaosongWei/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,crosswalk-project/blink-crosswalk-efl,Bysmyyr/blink-crosswalk,smishenk/blink-crosswalk,Bysmyyr/blink-crosswalk,modulexcite/blink,Bysmyyr/blink-crosswalk,PeterWangIntel/blink-crosswalk,XiaosongWei/blink-crosswalk,nwjs/blink,smishenk/blink-crosswalk,jtg-gg/blink,modulexcite/blink,Bysmyyr/blink-crosswalk,Bysmyyr/blink-crosswalk,ondra-novak/blink,Pluto-tv/blink-crosswalk,kurli/blink-crosswalk,crosswalk-project/blink-crosswalk-efl