added description for chaining and sort functions