Question: What book grouped into three categories: comedies, histories, and tragedies, contains a play believed to have been written in 1599? 

Context paragraphs:
Shakespearean history: In the First Folio, the plays of William Shakespeare were grouped into three categories: comedies, histories, and tragedies.  The histories—along with those of contemporary Renaissance playwrights—help define the genre of history plays.  The histories might be more accurately called the "English history plays" and include the outliers "King John" and "Henry VIII" as well as a continuous sequence of eight plays covering the Wars of the Roses.  These last are considered to have been composed in two cycles.  The so-called first tetralogy, apparently written in the early 1590s, deals with the later part of the struggle and includes "Henry VI, parts one", "two" & "three" and "Richard III".  The second tetralogy, finished in 1599 and including "Richard II", "Henry IV, Part 1", "Henry IV, Part 2" and "Henry V", is frequently called the "Henriad" after its protagonist Prince Hal, the future Henry V.

Fitkid: Fitkid (also "FitKid", "Fit Kid" or "Fit-Kid") is a type of children's sport combining gymnastics, dance and acrobatics.  It originated in Europe in the 1990s, and is meant to engage children 8–18 years of age in fun individual and group exercise, free of the extremes of more strenuous aerobics or traditional gymnastics.  International competitions are organized regularly by the "International FitKid Division", in addition to national competitions.  A routine stands of four types of elements: strength, flexibility, acrobatics, and jumps.  All elements are graded by difficulty from A to H.  A elements being worth 0.1 points, B 0.2, C 0.3, and so on until H which is worth 0.8.  Routines get evaluated in three categories: technique, artistry, and content (execution of elements).  Competition is divided by age groups (I. to IX.  (or Senior in A category)), and categories ( which are based on knowledge).  There three categories (from hardest to easiest) A, B, and C, also called Dance.  In each categories there are group and individual routines.  In C Category (here group routines are also called Dance Show) team member can go from 4 to 8.  In A and B category there are duos, small groups (3-4), and big groups (5-6).  In C category, individually 4 elements have to be performed ( one from each type), A or B difficulty, and in groups, two are optional.  In B category individually 8 elements need to be performed ( two from each type) A-D difficulty ( but max.  two elements can be D), and in groups 4 (same as C category individual).  In A category team and individual, 8 elements need to be performed (same as B category) and an acrobatic connection is optional.  Skills in A category can be any difficulty.

Topgrading: Topgrading is a corporate hiring and interviewing methodology that is intended to identify preferred candidates for a particular position.  In the methodology, prospective employees undergo a 12-step process that includes extensive interviews, the creation of detailed job scorecards, research into job history, coaching, and more.  After being interviewed and reference-checked, job candidates are grouped into one of three categories: A Players, B Players, or C Players.  A Players have the most potential for high performance in their role while B and C Players may require more work to be successful.  The methodology has been used by major corporations and organizations like General Electric, Lincoln Financial, Honeywell, Barclays, the American Heart Association, and others.

As You Like It: As You Like It is a pastoral comedy by William Shakespeare believed to have been written in 1599 and first published in the First Folio in 1623.  The play's first performance is uncertain, though a performance at Wilton House in 1603 has been suggested as a possibility.

Polygamy in Thailand: Prior to October 1, 1935 polygamy could be freely practiced and was recognised under civil law in Thailand.  The old family law divided wives into three categories, all in accordance to the way they became wives.  There were three categories for a polygamous marriage, the first called "mia klang muang" (เมียกลางเมือง), who would be the "official wife" that the husband's parents had "acquired for him".  The second known as "mia klang nok" (เมียกลางนอก), the "minor wife", whom the man acquired after his first marriage, and the third, "mia klang thasi" (เมียกลางทาสี), the title given to slave wives that were purchased from the mother and father of their prior owners.  The children resulting from these unions were all recognised as legitimate.

The Drama of King Shotaway: The Drama of King Shotaway, founded on Facts taken from the Insurrection of the Caravs on the Island of St. Vincent, written from Experience by Mr. Brown (1823) was a play believed to be by William Henry Brown.  This was the first known play by a black playwright in the United States.  No known copies of the play exist.

Genodermatosis: Genodermatoses are inherited genetic skin conditions often grouped into three categories: chromosomal, single gene, and polygenetic.

Shakespearean tragedy: Shakespearean tragedy is the designation given to most tragedies written by playwright William Shakespeare.  Many of his history plays share the qualifiers of a Shakespearean tragedy, but because they are based on real figures throughout the History of England, they were classified as "histories" in the First Folio.  The Roman tragedies—"Julius Caesar", "Antony and Cleopatra" and "Coriolanus"—are also based on historical figures, but because their source stories were foreign and ancient they are almost always classified as tragedies rather than histories.  Shakespeare's romances (tragicomic plays) were written late in his career and published originally as either tragedy or comedy.  They share some elements of tragedy featuring a high status central character but end happily like Shakespearean comedies.  Several hundred years after Shakespeare's death, scholar F.S. Boas also coined a fifth category, the "problem play," for plays that don't fit neatly into a single classification because of their subject matter, setting, or ending.  The classifications of certain Shakespeare plays are still debated among scholars.

Shakespearean comedy: In the First Folio, the plays of William Shakespeare were grouped into three categories: comedies, histories, and tragedies, though today many scholars recognize a fourth category, romance, to describe the specific types of comedies that appear as Shakespeare's later works.

The Merchant of Venice: The Merchant of Venice is a 16th-century play by William Shakespeare in which a merchant in Venice must default on a large loan provided by an abused Jewish moneylender.  It is believed to have been written between 1596 and 1599.  Though classified as a comedy in the First Folio and sharing certain aspects with Shakespeare's other romantic comedies, the play is perhaps most remembered for its dramatic scenes, and it is best known for Shylock and the famous "Hath not a Jew eyes?"  speech.  Also notable is Portia's speech about "the quality of mercy".  Critic Harold Bloom listed it among Shakespeare's great comedies.

Supporting paragraphs: As You Like It Shakespearean comedy
Answer: First Folio