import { RequestContext } from '../../lib/request-context' ; export namespace entrypoints { export function sort ( context , input ) { let comparator = context . get ( "comparator" ) ; return input . sort ( comparator ) ; } } export function defaultComparator ( a , b ) { return a - b ; }