orderBy

fun orderBy(key: String, direction: Direction? = null)

Order points by a payload key.