generic/py-backend/fs_utils/list_dir.py
def _filename_comparator(a_str, b_str):
    """Compares file name (case insensitive)"""
    if a_str.lower() < b_str.lower():
        return -1
    if a_str.lower() > b_str.lower():
        return 1
    return 0
Compares file name (case insensitive)
Compares file name (case insensitive)
Compares file name ( case insensitive )
def _filename_comparator(a_str, b_str):
    if a_str.lower() < b_str.lower():
        return -1
    if a_str.lower() > b_str.lower():
        return 1
    return 0
def _filename_comparator ( a_str , b_str ) : if a_str . lower ( ) < b_str . lower ( ) : return - 1 if a_str . lower ( ) > b_str . lower ( ) : return 1 return 0
Compares file name (case insensitive)
Compares file name ( case insensitive )
"""Compares file name (case insensitive)"""
a_str
b_str