Fix boxplots misdrawn with unsorted data. Fixes #271.