echo matchfuzzy(['Cursor', 'lCursor', 'shCurlyIn', 'shCurlyError', 'TracesCursor', 'CurSearch', 'CursorLine'], 'Cur')
# outputs
# lCursor, shCurlyIn, shCurlyError, TracesCursor, Cursor, CurSearch, CursorLine
# I would expect the output
# Cursor, CurSearch, CursorLine, lCursor, shCurlyIn, shCurlyError, TracesCursor
Consider following: