You can use a list comprehension to filter it:
j2 = [i for i in j if i >= 5]
If you actually want it sorted like your example was, you can use sorted
:
j2 = sorted(i for i in j if i >= 5)
or call sort
on the final list:
j2 = [i for i in j if i >= 5]
j2.sort()
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…