[Help Me] Sort <ul> <li>

I only have 1 hour. because of too much homework. leaving only 2 problems. for me is difficult.