From 17d58634a8a8e6a9f5c58bebf319e15ed336d69d Mon Sep 17 00:00:00 2001 From: Scott Cooper Date: Wed, 28 Mar 2018 09:13:17 -0700 Subject: [PATCH] fix: Categories sort compareFunction return to -1 from 0 in Picker component --- src/lib/picker/picker.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/picker/picker.component.ts b/src/lib/picker/picker.component.ts index d2ee6049..053e9e51 100644 --- a/src/lib/picker/picker.component.ts +++ b/src/lib/picker/picker.component.ts @@ -134,8 +134,7 @@ export class PickerComponent implements OnInit, AfterViewInit { if (this.include.indexOf(a.id) > this.include.indexOf(b.id)) { return 1; } - - return 0; + return -1; }); }