Removed unused view.

Added ordering to stats. Fixed nullpointer exception.