Implemented sorting on all challenges