Sort config flow picker (#3170)

This commit is contained in:
Paulus Schoutsen
2019-05-07 21:07:59 -07:00
committed by GitHub
parent fa13b95498
commit 8c904fb012
2 changed files with 12 additions and 2 deletions

View File

@@ -8,3 +8,6 @@ export const compare = (a: string, b: string) => {
return 0;
};
export const caseInsensitiveCompare = (a: string, b: string) =>
compare(a.toLowerCase(), b.toLowerCase());