Implement sorting methords to practice Python