You cannot always tell from a composer’s opus numbers the order in which the works were composed. Until around the end of the 18th century, opus numbers were only given to pieces of music which were published.