Added a few minor bug fixes and can now sort profile data