Tested sorting, added sort by comments