set (mylist a b c) list(SORT mylist CASE INSENSITIVE CASE INSENSITIVE )