How To Sort In Python Without Using Sort Function