Moved sorting function from DetailPanel to Iteration, Implemented sorting into IterationTreeView