public void load(Sheet sheet) {
        LinkedList<String> lines = new LinkedList<String>();
        try {
            while (ready()) {
                lines.add(readLine());
            }
            LinkedList<String> sorted = new LinkedList<String>();
            for (String s : lines) {
                boolean isRef = false;
                int index = s.indexOf('=');
                for (int i = index; i < s.length(); i++) {
                    if (Character.isLetter(s.charAt(i))) {
                        isRef = true;
                    }
                }
                if (isRef) {
                    sorted.addLast(s);
                } else {
                    sorted.addFirst(s);
                }
            }
            for (String s : sorted) {
                int index = s.indexOf('=');
                sheet.putQuiet(s.substring(0,index),s.substring(index+1));
            }
        } catch (Exception e) {
            throw new XLException(e.getMessage());
        }
    }