Added sample order to draw method.