Begin xml for day, sort function for lesson array