static Poker[][] sort(Poker[] pokers){
        int len = pokers.length;
        Poker[][] ps = new Poker[4][len];
        int[] counters = new int[4];
        for (int i = 0; i < len; i++){
            for (int j = 0; j < 4; j++){
                if (pokers[i] != null && pokers[i].getColor().equalsIgnoreCase(colors[j])){
                    ps[j][counters[j]++] = pokers[i];
                    break;
                }
            }
            
        }
        for (int i = 0; i < 4; i++){
            bubbleSort(ps[i]);
        }
        return ps;
    }