Sort.asc constructor

const Sort.asc(
  1. String field
)

Creates an ascending sort.

Implementation

const Sort.asc(this.field) : direction = Direction.asc;