Implemented Sorting Mechanism

Implemented Comparable on Body.
Added sort function to the load state.