public static void sortByKeyword(CardList list, String kw) {
        final String keyword = kw;
        Comparator<Card> com = new Comparator<Card>() {
            public int compare(Card a, Card b) {
                if (a.hasKeyword(keyword) && b.hasKeyword(keyword))
                    return 0;
                else if (a.hasKeyword(keyword))
                    return -1;
                else if (b.hasKeyword(keyword))
                    return 1;

                return 0;
            }
        };
        list.sort(com);
    }//sortByKeyword()