Update process.py to make sorted method compatible
Update process.py to make sorted method compatible

Sorted method needed to be modified to compare complex objects. 
Python 2.7 had __cmp__ built in. Python 3.x doesnt have it. So, we need to spicify a criterium to sort elements.
dispel4py/dispel4py,dispel4py/dispel4py