Adding sort behavior and initial documentation.