# Path: foil/util.py
# def natural_sort(l):
#     """Sort list based on alphanumeric key."""
# 
#     return sorted(l, key=alphanum_key)


import unittest
from foil.util import natural_sort



class TestNaturalSort(unittest.TestCase):
    def test_natural_sort(self):
        entries = ['ab127b', 'ab123b']


# Path: foil/util.py
# def natural_sort(l):
#     """Sort list based on alphanumeric key."""
# 
#     return sorted(l, key=alphanum_key)


# Path: tests/test_util.py
import unittest
from foil.util import natural_sort




class TestNaturalSort(unittest.TestCase):
    def test_natural_sort(self):
        entries = ['ab127b', 'ab123b']


        expected = ['ab123b', 'ab127b']