open_in_new content_copy
products.sort((a,b) => a.compareTo(b));
open_in_new MORE content_copy COPY

@awaisab171 at thiscodeWorks.com